X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmcs51%2FMakefile;h=3b85636455228667d661cdeb414b93d2c6d9205c;hb=fb6e4e5e313436e0a55a16bf1c71de991f6c35dd;hp=a248555c8f80fa13bd9f8d17ba25d2f9d7327e46;hpb=01ad33a1bb9aec417dab3e45e57cac53b38fdb66;p=fw%2Fsdcc diff --git a/src/mcs51/Makefile b/src/mcs51/Makefile index a248555c..3b856364 100644 --- a/src/mcs51/Makefile +++ b/src/mcs51/Makefile @@ -1,21 +1,2 @@ -PRJDIR = ../.. - -include $(PRJDIR)/Makefile.common - -OBJ = gen.o ralloc.o main.o -LIB = port.a - -CFLAGS = -ggdb -Wall -CFLAGS += -I.. -I. -I../.. - -all: $(LIB) - -$(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