ack/util/ego/cj/Makefile

85 lines
1.5 KiB
Makefile
Raw Normal View History

1987-01-13 10:30:06 +00:00
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
1987-03-02 12:42:38 +00:00
SHR=../share
1987-01-13 10:30:06 +00:00
LDFLAGS=-i
CPPFLAGS=-DVERBOSE -DNOTCOMPACT
CFLAGS=$(CPPFLAGS) -O
1989-02-09 11:33:11 +00:00
LINTFLAGS=-hbac
CFILES=\
cj.c
OFILES=\
cj.o
HFILES=
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o \
$(SHR)/stack_chg.o $(SHR)/go.o
SHARE_MFILES=\
$(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \
$(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m $(SHR)/stack_chg.m $(SHR)/go.m
1987-01-13 10:30:06 +00:00
all: cj
cj: $(OFILES)
$(CC) -o \
cj $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
cj_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o cj -.c $(LDFLAGS) cj.o $(EMLIB)/em_data.a
1987-01-13 10:30:06 +00:00
install: all
../install cj
cmp: all
-../compare cj
pr:
@pr $(PRFILES)
opr:
make pr | opr
clean:
rm -f cj *.o Out out nohup.out
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
1987-01-13 10:30:06 +00:00
print: $(PRFILES)
@pr $?
1987-01-13 10:30:06 +00:00
@touch print
depend:
$(SHR)/makedepend
1984-11-26 15:04:22 +00:00
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
1984-11-27 14:53:00 +00:00
cj.o: ../../../h/em_mnem.h
cj.o: ../../../h/em_spec.h
cj.o: ../share/alloc.h
cj.o: ../share/aux.h
cj.o: ../share/debug.h
cj.o: ../share/def.h
cj.o: ../share/files.h
cj.o: ../share/get.h
cj.o: ../share/global.h
cj.o: ../share/go.h
cj.o: ../share/lset.h
cj.o: ../share/map.h
cj.o: ../share/put.h
cj.o: ../share/stack_chg.h
cj.o: ../share/types.h