diff options
author | Brodie Thiesfield <brofield@gmail.com> | 2007-11-13 07:03:45 +0300 |
---|---|---|
committer | Brodie Thiesfield <brofield@gmail.com> | 2007-11-13 07:03:45 +0300 |
commit | 7cbc4fc53a8c3603b11751bcfb1cfbfa6d327dc4 (patch) | |
tree | c60edf2d840d78b5e125e0c23dd0b794f354b1f1 /Makefile | |
parent | 80c681da253c50aa7935b78abe5eef58e3061919 (diff) |
better makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -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 |