X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fz80%2FMakefile;h=3b85636455228667d661cdeb414b93d2c6d9205c;hb=0532ba2a5ff4c6513ccac1d8a82d8259669b8aa3;hp=9d6207c724dffbc6ef1b9b06285cf2962025bb3e;hpb=f4fe6afd73d77df854640914cf1a2a38fdb1befd;p=fw%2Fsdcc diff --git a/src/z80/Makefile b/src/z80/Makefile index 9d6207c7..3b856364 100644 --- a/src/z80/Makefile +++ b/src/z80/Makefile @@ -1,23 +1,2 @@ -PRJDIR = ../.. - -include $(PRJDIR)/Makefile.common - -OBJ = gen.o ralloc.o main.o support.o -LIB = port.a - -CFLAGS = -ggdb -Wall -CFLAGS += -I.. -I. -I../.. - -all: $(LIB) - -$(LIB): peeph.rul peeph-z80.rul peeph-gbz80.rul $(OBJ) - rm -f $(LIB) - ar r $(LIB) $(OBJ) - ranlib $(LIB) - -%.rul: %.def - $(AWK) -f ../SDCCpeeph.awk $< > $@ - -main.o: main.c peeph.rul peeph-z80.rul peeph-gbz80.rul mappings.i - -include clean.mk +# Make all in this directory +include ../port.mk