OSDN Git Service

* update version string
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Sun, 26 Mar 2006 21:52:25 +0000 (21:52 +0000)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Sun, 26 Mar 2006 21:52:25 +0000 (21:52 +0000)
Makefile

index 2f1e3b6..bee9cc2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,11 @@
 CC = cc
-CFLAGS = -O
+CFLAGS = -O -Wall
 # CFLAGS = -O3
 SHAR = shar 
 # SHAR = shar -T
 PERL = perl
 RM = rm -rf
-VERSION = 205
-EXIST = test -f
-#EXIST = exist #nmake
+VERSION = 206
 
 nkf : nkf.c config.h utf8tbl.o
        $(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o
@@ -17,7 +15,8 @@ utf8tbl.o : utf8tbl.c config.h
 
 clean:
        -$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
-       cd NKF.mod; if $(EXIST) Makefile; then make clean; fi
+       cd NKF.mod; if [ -f Makefile ]; then make clean; fi
+
 test:  nkf
        $(PERL) test.pl