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 'other/Makefile')
-rw-r--r--other/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/other/Makefile b/other/Makefile
new file mode 100644
index 0000000..a04b5e3
--- /dev/null
+++ b/other/Makefile
@@ -0,0 +1,28 @@
+CC=g++
+CFLAGS=-Wall
+CPPFLAGS=-Wall
+
+OBJS=testsi.o test1.o snippets.o ConvertUTF.o
+
+help:
+ @echo This makefile is just for the test program \(use \"make clean all test\"\)
+ @echo Just include the SimpleIni.h header file to use it.
+
+all: $(OBJS)
+ $(CC) -o testsi $(OBJS)
+
+clean:
+ rm -f core *.o testsi
+
+data:
+ sed 's/\r\n$$/\n/g' < test1-expected.ini > unix.out
+ mv unix.out test1-expected.ini
+
+test: testsi
+ ./testsi -u -m -l test1-input.ini > test1-blah.ini
+ diff test1-output.ini test1-expected.ini
+
+install:
+ @echo No install required. Just include the SimpleIni.h header file to use it.
+
+testsi.o test1.o snippets.o : SimpleIni.h