ack/util/ego/cj/Makefile
bal ffb167e8b2 lay-out enhanced; flags (CFLAGS etc.) inherited from central Makefile;
entry for compiling this phase with ack -O created.
1984-12-21 14:41:47 +00:00

61 lines
1.2 KiB
Makefile

EMH=../../../h
EMLIB=../../../lib
SHR=../share
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
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
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
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