- Timestamp:
- 11/17/08 14:57:35 (16 years ago)
- Location:
- vtcross/trunk
- Files:
-
- 3 added
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/Makefile
r29 r33 3 3 # 4 4 5 TESTS = cognitive_radio utility cbr5 TESTS = cognitive_radio cognitive_engine utility cbr 6 6 all: $(TESTS) 7 7 … … 10 10 LDFLAGS = -lm -ldl -pthread -lsigprocc 11 11 12 OBJS = cbr.o sqlite3.o utility.o cognitive_radio_test.o ezxml.o12 OBJS = cbr.o utility.o cognitive_radio_test.o ezxml.o cognitive_engine.o 13 13 HEADERS = src/cbr.h src/cognitive_radio_test.h \ 14 src/sqlite3.h src/sqlite3ext.h \ 15 src/utility.h src/cognitive_radio_test.h 14 src/utility.h src/cognitive_radio_test.h \ 15 src/ezxml.h src/cognitive_engine.h 16 17 sqlite3.o : src/sqlite3.c src/sqlite3.h src/sqlite3ext.h 18 gcc -c src/sqlite3.c -o sqlite3.o 16 19 17 20 $(OBJS) : %.o : src/%.c $(HEADERS) 18 21 $(CC) $(CFLAGS) -c $< -o $@ 19 22 20 $(TESTS) : % : src/main_%.c $(OBJS) 21 $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $< -o $@23 $(TESTS) : % : src/main_%.c $(OBJS) sqlite3.o 24 $(CC) $(CFLAGS) $(OBJS) sqlite3.o $(LDFLAGS) $< -o $@ 22 25 23 26 clean: