summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index aa8fcb2..3c8c410 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -12,13 +12,19 @@ RM = rm -f
default: all
-all: iniexample
+all: iniexample parse iniexample_thread
iniexample: iniexample.c
$(CC) $(CFLAGS) -o iniexample iniexample.c -I../src -L.. -liniparser
+parse: parse.c
+ $(CC) $(CFLAGS) -o parse parse.c -I../src -L.. -liniparser
+
+iniexample_thread: iniexample_thread.c
+ $(CC) $(CFLAGS) -o iniexample_thread iniexample_thread.c -I../src -L.. -liniparser -lpthread
+
clean veryclean:
- $(RM) iniexample example.ini
+ $(RM) iniexample example.ini parse iniexample_thread example_*.ini