root/libbst/Makefile

Revision 67, 273 bytes (checked in by aqua, 4 years ago)

Makefile enhancement...

Line 
1#DEBUG = -DDEBUG
2CFLAGS = -O3 -pipe -g  ${DEBUG}
3LDFLAGS = -lm
4.c.o:
5        gcc -c ${CFLAGS} $<
6
7all: libbst.o test
8
9test:  libbst.o libbst_test.o test.o
10        gcc ${CFLAGS} ${LDFLAGS} -o $@ libbst.o libbst_test.o test.o
11       
12clean:
13        rm -rf libbst.o libbst_test.o test.o test test.out
Note: See TracBrowser for help on using the browser.