summaryrefslogtreecommitdiff
path: root/code/test/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-05-23 17:28:12 +0200
committerUros Majstorovic <majstor@majstor.org>2017-05-23 17:28:12 +0200
commitab0325ae7906230f1ea82f08b27c72b075e9a13d (patch)
tree5a292826fdea4db2c86b2d82b80fa489c6c131c7 /code/test/Makefile
parent3ef6719f47b734b12c0b11c725b7f12e3fb3c08a (diff)
build fixed; added lib util
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