ack/util/ego/em_ego/proto.make

42 lines
896 B
Plaintext
Raw Normal View History

1991-08-27 10:18:09 +00:00
# $Header$
#PARAMS do not remove this line
EMH=$(TARGET_HOME)/h
EMCONFIG=$(TARGET_HOME)/config
EMLIB=$(TARGET_HOME)/lib.bin
MODLIB=$(TARGET_HOME)/modules/lib
MODH=$(TARGET_HOME)/modules/h
MODS=$(MODLIB)/libprint.$(LIBSUF) $(MODLIB)/libstring.$(LIBSUF) $(MODLIB)/libsystem.$(LIBSUF)
LDFLAGS=$(LDOPTIONS)
CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH) -I$(EMCONFIG) -I$(MODH)
CFLAGS=$(CPPFLAGS) $(COPTIONS)
LINTFLAGS=$(CPPFLAGS) $(LINTOPTIONS)
all: em_ego
em_ego: em_ego.$(SUF)
$(CC) $(LDFLAGS) -o em_ego em_ego.$(SUF) $(MODS)
em_ego.$(SUF): $(SRC_DIR)/em_ego.c $(EMCONFIG)/em_path.h $(MODH)/system.h
$(CC) -c $(CFLAGS) $(SRC_DIR)/em_ego.c
install: all
rm -f $(EMLIB)/em_ego
cp em_ego $(EMLIB)/em_ego
cmp: all
-cmp em_ego $(EMLIB)/em_ego
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/em_ego.c
opr:
make pr | opr
lint:
$(LINT) $(LINTFLAGS) $(SRC_DIR)/em_ego.c
clean:
rm -f *.$(SUF) em_ego