10 OBJS
=core.o ss_gen.o ss_ins.o effect.o input.o event.o \
11 preprocessor.o compiler.o \
12 output.o out_common.o out_oss.o out_sgi.o out_esd.o \
13 compiler_l.o compiler_y.o
17 ##################################################################
23 cvs2cl
--fsf
--stdout
> Changelog
26 $(CC
) $(CFLAGS
) `cat config.cflags` -c
$<
37 compiler_l.o
: lex.yy.c y.tab.h
38 $(CC
) -c
lex.yy.c
-o compiler_l.o
41 $(CC
) -c y.tab.c
-o compiler_y.o
49 $(CC
) $(CFLAGS
) $< $(LIB
) -lm
`cat config.ldflags` -o
$@
51 midiin
: midiin.c
$(LIB
)
52 $(CC
) $(CFLAGS
) $< $(LIB
) -lm
`cat config.ldflags` -o
$@
55 rm -f
$(BIN
) $(LIB
) $(OBJS
) *.o
tags *.
tar.gz
58 rm -f y.tab.c y.tab.h
lex.yy.c
61 rm -f config.h config.
cflags config.
ldflags makefile.opts .config.log Makefile
63 dist: distclean ChangeLog y.tab.c y.tab.h
lex.yy.c
64 cd ..
; ln
-s
$(PROJ
) $(PROJ
)-$(VERSION
); \
65 tar czvf
$(PROJ
)-$(VERSION
)/$(PROJ
)-$(VERSION
).
tar.gz
--exclude
=CVS
$(PROJ
)-$(VERSION
)/* ; \
69 gcc
-MM
*.c
> makefile.depend
72 # install $(BIN) $(PREFIX)/bin
73 # mkdir -p $(PREFIX)/share/doc/$(PROJ)
74 # cp $(DOCS) $(PREFIX)/share/doc/$(PROJ)
76 #qq: compiler_l.o compiler_y.o
77 # cc compiler_l.o compiler_y.o -L. -lannhell -lm -o qq