OSDN Git Service

* Fix: extra next line of MIME encode result [nkf-bugs#9872]
[nkf/nkf.git] / Makefile
index 2f1e3b6..64f5a96 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,7 @@ SHAR = shar
 # SHAR = shar -T
 PERL = perl
 RM = rm -rf
-VERSION = 205
-EXIST = test -f
-#EXIST = exist #nmake
+VERSION = 207
 
 nkf : nkf.c config.h utf8tbl.o
        $(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o
@@ -16,8 +14,9 @@ utf8tbl.o : utf8tbl.c config.h
        $(CC) $(CFLAGS) -c utf8tbl.c
 
 clean:
-       -$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
-       cd NKF.mod; if $(EXIST) Makefile; then make clean; fi
+       -$(RM) nkf.o nkf nkf.exe nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
+       cd NKF.mod; if [ -f Makefile ]; then make clean; fi
+
 test:  nkf
        $(PERL) test.pl