OSDN Git Service

Fix: -Z1 and -Z2 doesn't include -Z0. [nkf-forum#41992]
[nkf/nkf.git] / Makefile
index 4f6b2c3..1350832 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
 CC = cc
-CFLAGS = -O -Wall
+CFLAGS = -O -Wall -pedantic
 # CFLAGS = -O3
 SHAR = shar 
 # SHAR = shar -T
 PERL = perl
 RM = rm -rf
-VERSION = 2.0.8
+VERSION = 2.0.9
+prefix = /usr/local
 
 nkf : nkf.o utf8tbl.o
        $(CC) $(CFLAGS) -o nkf nkf.o utf8tbl.o
@@ -29,6 +30,11 @@ perl:
        make ; \
        make test )
 
+install:
+       cp nkf $(prefix)/bin/
+       cp nkf.1 $(prefix)/man/man1/
+       cp nkf.1j $(prefix)/man/ja/man1/nkf.1
+
 shar:
        -mkdir nkf-$(VERSION)
        -mkdir nkf-$(VERSION)/NKF.mod