summaryrefslogtreecommitdiff
path: root/code/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/Makefile')
-rw-r--r--code/test/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/code/test/Makefile b/code/test/Makefile
index 5c25b5e..ddfc095 100644
--- a/code/test/Makefile
+++ b/code/test/Makefile
@@ -1,18 +1,19 @@
CFLAGS=-I../core -O3 -Wno-int-to-void-pointer-cast
LDFLAGS=-lm -pthread
-dep=../core/libecpcore.a ../core/crypto/libecpcr.a ../core/htable/libecpht.a ../core/posix/libecptr.a ../core/posix/libecptm.a init.o
+
+dep=../core/libecpcore.a ../core/crypto/libecpcr.a ../core/htable/libecpht.a ../core/posix/libecptr.a ../core/posix/libecptm.a
%.o: %.c
$(CC) $(CFLAGS) -c $<
-all: server stress
+all: basic stress
-server: server.o $(dep)
- $(CC) $< $(dep) $(LDFLAGS) -o $@
+basic: basic.o init.o $(dep)
+ $(CC) -o $@ $(LDFLAGS) $< init.o $(dep)
-stress: stress.o $(dep)
- $(CC) $< $(dep) $(LDFLAGS) -o $@
+stress: stress.o init.o $(dep)
+ $(CC) -o $@ $(LDFLAGS) $< init.o $(dep)
clean:
rm -f *.o
- rm -f server stress
+ rm -f basic stress