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:
authorBrodie Thiesfield <brofield@gmail.com>2007-11-13 07:03:45 +0300
committerBrodie Thiesfield <brofield@gmail.com>2007-11-13 07:03:45 +0300
commit7cbc4fc53a8c3603b11751bcfb1cfbfa6d327dc4 (patch)
treec60edf2d840d78b5e125e0c23dd0b794f354b1f1 /Makefile
parent80c681da253c50aa7935b78abe5eef58e3061919 (diff)
better makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 5fa8f31..f66fada 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,26 @@
-CC=gcc
+CC=g++
CFLAGS=-Wall
CPPFLAGS=-Wall
-OBJ=testsi.o test1.o snippets.o ConvertUTF.o
+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)
-testsi.o test1.o snippets.o : SimpleIni.h
-testsi: $(OBJ)
- g++ -o testsi -lstdc++ $(OBJ)
clean:
- rm -f testsi $(OBJ)
+ rm -f core *.o testsi
data:
sed 's/\r\n$$/\n/g' < test1-expected.ini > unix.out
mv unix.out 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