Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 634 Bytes
##
## Makefile
##
## Made by Christopher Zorn <tofu@thetofu.com>
##
## Started on Mon Nov 2 16:50:29 2009 Christopher Zorn
## Last update Mon Nov 2 16:50:29 2009 Christopher Zorn
##
#####################
# Macro Definitions #
#####################
ERL = erl
ERLC = erlc
MAKE = make
SHELL = /bin/sh
RM = /bin/rm -rf
##############################
# Basic Compile Instructions #
##############################
all:
thrift --gen erl scribe.thrift
cp example.erl gen-erl
cp -f gen-erl/*.erl src/
cp -f gen-erl/*.hrl include/
cp src/*.app ebin/
erlc -o ebin -I ./include src/*.erl
clean:
-$(RM) gen-erl
-$(RM) ebin/*