Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/simpleini.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..ae3082e
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,20 @@
+CC=g++
+CFLAGS=-Wall -std=c++11
+CPPFLAGS=-Wall -std=c++11
+LDFLAGS=-lpthread -lgtest -lgtest_main -lpthread -L/usr/lib
+
+OBJS=ts-roundtrip.o ts-snippets.o ts-utf8.o
+
+BIN=./tests
+
+all: $(OBJS)
+ $(CC) -o $(BIN) $(OBJS) $(LDFLAGS)
+
+clean:
+ rm -f core $(OBJS) $(BIN)
+
+test: $(BIN)
+ $(BIN)
+
+$(OBJS): ../SimpleIni.h
+