ack/mach/z80/int/Makefile

45 lines
746 B
Makefile
Raw Normal View History

1987-02-04 10:39:27 +00:00
EMHOME=../../..
SRC = em.s atof.s fpp.s mli4.s dvu4.s dvi4.s eb.s
OBJ = em.o atof.o fpp.o mli4.o dvu4.o dvi4.o eb.o
DLSRC = dl.c dlbin.c
LIBOBJ = $(EMHOME)/modules/lib/libobject.a
1987-03-17 16:18:08 +00:00
LDFLAGS =
1987-02-04 10:39:27 +00:00
CFLAGS = -O -I$(EMHOME)/h
.s.o:
z80 -c -I$(EMHOME)/h $*.s
all: int.hex dl dlbin cv
install: all
@echo "nothing is installed"
cmp: all
@echo "nothing is compared"
clean:
rm -f *.o a.out dl dlbin *.hex cv
pr:
@pr Makefile $(SRC) $(DLSRC) cv.c
opr:
make pr | opr
a.out: $(OBJ)
$(EMHOME)/lib/em_led -b0:0x100 -a0:2 -a1:2 -a2:2 -a3:2 $(OBJ)
int.hex: a.out dlbin
./dlbin a.out > int.hex
./dosort int.hex
1984-06-25 16:22:03 +00:00
dl: dl.o
1987-03-17 16:18:08 +00:00
$(CC) $(LDFLAGS) -o dl dl.o
1987-02-04 10:39:27 +00:00
dlbin: dlbin.o
1987-03-17 16:18:08 +00:00
$(CC) $(LDFLAGS) -o dlbin dlbin.o $(LIBOBJ)
1987-02-04 10:39:27 +00:00
cv: cv.o
1987-03-17 16:18:08 +00:00
$(CC) $(LDFLAGS) -o cv cv.o