X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpic%2FMakefile;h=3b85636455228667d661cdeb414b93d2c6d9205c;hb=89db69316a154852a4db0e5984630e41dcfea9aa;hp=a0ebe7bf15528e9ad308efb037b56872c974f86a;hpb=4c3872ef27c1263faae7d9b85c1821381646ece8;p=fw%2Fsdcc diff --git a/src/pic/Makefile b/src/pic/Makefile index a0ebe7bf..3b856364 100644 --- a/src/pic/Makefile +++ b/src/pic/Makefile @@ -1,28 +1,2 @@ -PRJDIR = ../.. - -include $(PRJDIR)/Makefile.common - -OBJ = gen.o genarith.o ralloc.o main.o glue.o pcode.o pcodepeep.o -LIB = port.a - -CFLAGS = -ggdb -Wall -O2 -CFLAGS += -I.. -I. -I../.. - -all: $(LIB) - -#hmm, now why don't we use automake instead of hardcoding -#the dependencies? -pcode.o: pcode.h -gen.o: pcode.h - -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