summaryrefslogtreecommitdiff
path: root/code/test/Makefile
blob: ddfc095e799b54db83e7c25246e9573b45d5ac8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

%.o: %.c
	$(CC) $(CFLAGS) -c $<

all: basic stress

basic: basic.o init.o $(dep)
	$(CC) -o $@ $(LDFLAGS) $< init.o $(dep)

stress: stress.o init.o $(dep)
	$(CC) -o $@ $(LDFLAGS) $< init.o $(dep)

clean:
	rm -f *.o
	rm -f basic stress