X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fds390%2FMakefile;h=3b85636455228667d661cdeb414b93d2c6d9205c;hb=b0528af48546cdfe3f2be3c126732eaff8933fe2;hp=3694994dc7653dbab04c85961d4a2dbd8a339d88;hpb=1353fa12a6da0c26b3f9a7e871933d4644079f22;p=fw%2Fsdcc diff --git a/src/ds390/Makefile b/src/ds390/Makefile index 3694994d..3b856364 100644 --- a/src/ds390/Makefile +++ b/src/ds390/Makefile @@ -1,23 +1,2 @@ -PRJDIR = ../.. - -include $(PRJDIR)/Makefile.common - -OBJ = gen.o ralloc.o main.o -LIB = port.a - -CFLAGS = -g -Wall -O2 -CFLAGS += -I.. -I. - -all: $(LIB) - -main.o: main.c peeph.rul - -$(LIB): peeph.rul $(OBJ) - rm -f $(LIB) - ar r $(LIB) $(OBJ) - $(RANLIB) $(LIB) - -peeph.rul: peeph.def - $(AWK) -f ../SDCCpeeph.awk peeph.def > peeph.rul - -include clean.mk +# Make all in this directory +include ../port.mk