OSDN Git Service
(root)
/
nkf
/
nkf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version strings
[nkf/nkf.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
34c3f9f
..
2f1e3b6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,9
@@
SHAR = shar
# SHAR = shar -T
PERL = perl
RM = rm -rf
# SHAR = shar -T
PERL = perl
RM = rm -rf
-VERSION = 204
+VERSION = 205
+EXIST = test -f
+#EXIST = exist #nmake
nkf : nkf.c config.h utf8tbl.o
$(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o
nkf : nkf.c config.h utf8tbl.o
$(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o
@@
-15,7
+17,7
@@
utf8tbl.o : utf8tbl.c config.h
clean:
-$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
clean:
-$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
- cd NKF.mod;
make clean
+ cd NKF.mod;
if $(EXIST) Makefile; then make clean; fi
test: nkf
$(PERL) test.pl
test: nkf
$(PERL) test.pl