X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fizt%2FMakefile;h=b37db7676194be33be5414843571329d38ad1c29;hb=6ee20dae1541e6e9edf127b58f2986bad8fd81c8;hp=5ae472096f6d47ccb77e7836ca6d39fdb91df189;hpb=e98149340c973a181d44b1522d92fb4be9c677bb;p=fw%2Fsdcc diff --git a/src/izt/Makefile b/src/izt/Makefile index 5ae47209..b37db767 100644 --- a/src/izt/Makefile +++ b/src/izt/Makefile @@ -1,23 +1,6 @@ -PRJDIR = ../.. +srcdir = . +top_builddir = ../../ +top_srcdir = ../.. -include $(PRJDIR)/Makefile.common - -OBJ = i186.o ralloc.o gen.o tlcs900h.o -LIB = port.a - -CFLAGS += -I.. -I. -I../.. -LDFLAGS = -ggdb - -all: $(LIB) - -$(LIB): $(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