X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fizt%2FMakefile;h=b37db7676194be33be5414843571329d38ad1c29;hb=eae1bd2f705a2c61e143c539f8c4d1e9c2b4efe6;hp=a159b4b9d9c598f3868d91a6441e874a8f532742;hpb=e2f003264b9d55dc19c4666c6cc7e708ecd55ea4;p=fw%2Fsdcc diff --git a/src/izt/Makefile b/src/izt/Makefile index a159b4b9..b37db767 100644 --- a/src/izt/Makefile +++ b/src/izt/Makefile @@ -1,25 +1,6 @@ -PRJDIR = ../.. +srcdir = . +top_builddir = ../../ +top_srcdir = ../.. -include $(PRJDIR)/Makefile.common - -OBJ = i186.o ralloc.o gen.o tlcs900h.o gen_generic.o aop.o util.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 - -i186.o: i186.c i186_mappings.i - -include clean.mk +# Make all in this directory +include ../port.mk