9 OBJS
=support.o sha1.o song.o compiler_l.o compiler_y.o \
10 ss_core.o ss_input.o ss_gen.o ss_eff.o ss_ins.o ss_song.o \
11 ss_output.o ss_outdev.o midi_song.o main.o
15 ##################################################################
21 # cvs2cl --fsf --stdout > Changelog
25 $(CC
) $(CFLAGS
) `cat config.cflags` -c
$<
36 compiler_l.o
: lex.yy.c y.tab.h
37 $(CC
) $(CFLAGS
) -c
lex.yy.c
-o compiler_l.o
40 $(CC
) $(CFLAGS
) -c y.tab.c
-o compiler_y.o
48 $(CC
) $(CFLAGS
) $(LIB
) -lm
`cat config.ldflags` -o
$@
51 $(CC
) $(CFLAGS
) wav.c
$(LIB
) -lm
`cat config.ldflags` -o
$@
53 midiin
: midiin.c
$(LIB
)
54 $(CC
) $(CFLAGS
) midiin.c
$(LIB
) -lm
`cat config.ldflags` -o
$@
57 rm -f
$(BIN
) $(LIB
) $(OBJS
) *.o
tags *.
tar.gz
60 rm -f y.tab.c y.tab.h
lex.yy.c
63 rm -f config.h config.
cflags config.
ldflags makefile.opts .config.log Makefile
66 -mp_doccer
*.c
-o doc
/ahxm_api
-f html1 \
67 -t
"Ann Hell Ex Machina API ($(VERSION))" \
68 -a
'Angel Ortega - angel@triptico.com'
69 -grutatxt
$(GRUTATXT_ARGS
) -i doc
/ahs_overview_i.txt
-o doc
/ahs_overview_i.html
70 -grutatxt
$(GRUTATXT_ARGS
) -i doc
/ahs_overview_ii.txt
-o doc
/ahs_overview_ii.html
71 -grutatxt
$(GRUTATXT_ARGS
) -b
-i doc
/ahs_appendix_1.txt
-o doc
/ahs_appendix_1.html
72 -grutatxt
$(GRUTATXT_ARGS
) -i doc
/index.txt
-o doc
/index.html
75 make docs GRUTATXT_ARGS
="--css=http://www.triptico.com/triptico.css"
80 dist: distclean docs ChangeLog y.tab.c y.tab.h
lex.yy.c
81 DIR
=`pwd` ; cd ..
; ln
-s
$$DIR $(PROJ
)-$(VERSION
); \
82 tar czvf
$(PROJ
)-$(VERSION
)/$(PROJ
)-$(VERSION
).
tar.gz
--exclude
=.svn
$(PROJ
)-$(VERSION
)/* ; \
86 gcc
-MM
*.c
> makefile.depend
89 install $(APPNAME
) $(PREFIX
)/bin
90 .
/mkinstalldirs
$(PREFIX
)/share
/doc
/$(PROJ
)
91 install -m
644 $(DOCS
) $(PREFIX
)/share
/doc
/$(PROJ
)
92 install -m
644 README RELEASE_NOTES TODO Changelog
$(PREFIX
)/share
/doc
/$(PROJ
)