X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Favr%2FMakefile;h=3b85636455228667d661cdeb414b93d2c6d9205c;hb=18164f9abb336d8dd61c150a8fe12fcf9a170f8c;hp=2cebc54583e98ccaf5c5bbf47b0e15dd5ffb3067;hpb=eb3e7140662dabe010d010dfd4b3bf0b7904e4e1;p=fw%2Fsdcc diff --git a/src/avr/Makefile b/src/avr/Makefile index 2cebc545..3b856364 100644 --- a/src/avr/Makefile +++ b/src/avr/Makefile @@ -1,22 +1,2 @@ -PRJDIR = ../.. - -include $(PRJDIR)/Makefile.common - -OBJ = ralloc.o main.o gen.o -LIB = port.a - -CFLAGS += -I.. -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