From faaf7cb8b4f7a929bbda96fa160478d85383d4b5 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 7 Sep 2010 08:14:00 +0200 Subject: Examples directory renamed -> tests --- tests/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/Makefile (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 0000000..883529e --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,26 @@ +CC = gcc +CFLAGS = -Wall -g -O2 + +progs := ncr pk speed + +all: $(progs) + +speed: speed.c + $(CC) $(CFLAGS) $< -o $@ + +ncr: ncr.c + $(CC) $(CFLAGS) $< -o $@ + +pk: pk.c + $(CC) $(CFLAGS) $< -o $@ -L/usr/local/lib -lgnutls + +uspeed: shm/aes_cbc.c shm/shm.c shm/aes.h + $(CC) $(CFLAGS) shm/aes_cbc.c shm/shm.c -o $@ -Ishm -lpthread + +check: $(progs) + ./ncr + ./pk + ./speed + +clean: + rm -f *.o *~ $(progs) -- cgit