cleaned up; dependecies added.

This commit is contained in:
bal 1984-11-27 14:53:00 +00:00
parent 9e38bfa060
commit 9c3a416acd

View file

@ -4,20 +4,28 @@ EML=../../../lib
SHARE=../share SHARE=../share
OBJECTS=cj.o OBJECTS=cj.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o $(SHARE)/stack_chg.o $(SHARE)/go.o SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o $(SHARE)/stack_chg.o $(SHARE)/go.o
MSHOBJECTS=$(SHARE)/get.m $(SHARE)/put.m $(SHARE)/alloc.m $(SHARE)/global.m $(SHARE)/debug.m $(SHARE)/files.m $(SHARE)/map.m $(SHARE)/lset.m $(SHARE)/cset.m $(SHARE)/aux.m $(SHARE)/stack_chg.m
SRC=cj.c SRC=cj.c
.SUFFIXES: .m
.c.o:
cc $(CFLAGS) -c $<
.c.m:
ack -O -L -c.m $(CFLAGS) $<
all: $(OBJECTS) all: $(OBJECTS)
cj: \ cj: \
$(OBJECTS) $(SHOBJECTS) $(OBJECTS) $(SHOBJECTS)
cc -o cj -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a $(CC) -o cj -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr: lpr:
pr $(SRC) | lpr pr $(SRC) | lpr
# the next lines are generated automatically # the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO # 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