Build fakeradio with other test binaries

This commit is contained in:
Jeremy Lakeman 2013-08-19 13:56:19 +09:30
parent ec44a3c9b2
commit 852c8b235c
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -20,6 +20,7 @@ serval.c
/servald
/directory_service
/tfw_createfile
/fakeradio
*.so
test.*.log
testlog

View File

@ -72,7 +72,7 @@ DEFS= @DEFS@
all: servald libmonitorclient.so libmonitorclient.a test
test: tfw_createfile directory_service
test: tfw_createfile directory_service fakeradio
sqlite-amalgamation-3070900/sqlite3.o: sqlite-amalgamation-3070900/sqlite3.c
@echo CC $<
@ -103,6 +103,10 @@ tfw_createfile: tfw_createfile.o str.o strbuf.o strbuf_helpers.o
@echo LINK $@
@$(CC) $(CFLAGS) -Wall -o $@ tfw_createfile.o str.o strbuf.o strbuf_helpers.o
fakeradio: fakeradio.o
@echo LINK $@
@$(CC) $(CFLAGS) -Wall -o $@ fakeradio.o
# This does not build on 64 bit elf platforms as NaCL isn't built with -fPIC
# DOC 20120615
libservald.so: $(OBJS) version.o
@ -120,5 +124,6 @@ libmonitorclient.a: $(MONITORCLIENTOBJS) version.o
clean:
@rm -f $(OBJS) \
tfw_createfile.o version.o \
fakeradio.o fakeradio \
tfw_createfile servald \
libservald.so libmonitorclient.so libmonitorclient.a