version 1.1, 2002/09/03 00:41:43 |
version 1.5, 2021/03/24 07:18:25 |
|
|
# Options: |
# Options: |
# KANJI: SHIFT-JIS kanji code handling on ASCII KANJI UNIX |
# KANJI: SHIFT-JIS kanji code handling on ASCII KANJI UNIX |
# |
# |
|
#CC=gcc |
TARGET = fep |
TARGET = fep |
HEADER = fep_defs.h fep_glob.h fep_funcs.h fep_stat.h |
HEADER = fep_defs.h fep_glob.h fep_funcs.h fep_stat.h |
SRC = fep_main.c fep_edit.c fep_hist.c fep_com.c fep_funcs.c fep_set.c \ |
SRC = fep_main.c fep_edit.c fep_hist.c fep_com.c fep_funcs.c fep_set.c \ |
Line 19 INSTDIR = ${PREFIX}/bin |
|
Line 20 INSTDIR = ${PREFIX}/bin |
|
|
|
#STAT = -DSTAT# Delete # for statistic info |
#STAT = -DSTAT# Delete # for statistic info |
#KANJI = -DKANJI# Delete # for KANJI handling |
#KANJI = -DKANJI# Delete # for KANJI handling |
CONFIG = $(STAT) $(KANJI) -DTERMIOS |
CONFIG = $(STAT) $(KANJI) -DTERMIOS -D_ALL_SOURCE |
|
|
#DEBUG = -g |
#DEBUG = -g |
#DEBUG = -O |
#DEBUG = -O |
|
|
CFLAGS += $(DEBUG) $(CONFIG) |
CFLAGS += $(DEBUG) $(CONFIG) -Wno-implicit-int -Wno-return-type |
LDFLAGS = -ltermcap |
LDFLAGS = -ltermcap |
|
INSTALL = install -s |
|
|
all: $(TARGET) |
all: $(TARGET) |
|
|
|
|
$(CC) -o argv -DMKARGDEBUG fep_util.c |
$(CC) -o argv -DMKARGDEBUG fep_util.c |
|
|
install: $(TARGET) |
install: $(TARGET) |
install -s $(TARGET) $(INSTDIR) |
$(INSTALL) $(TARGET) $(INSTDIR) |
gzip -9n -c fep.1 > ${PREFIX}/man/man1/fep.1.gz |
gzip -9n -c fep.1 > ${PREFIX}/man/man1/fep.1.gz |
|
|
fep.1: fep.jman |
fep.1: fep.jman |