X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ia32%2FMakefile;h=353ae6791dffb98d8803a5ee148d313d01e09fee;hb=9778e9d6861cf28b5c26f91692c604181dad00c4;hp=c5f421b4ed8090833104dbc5b9c72bf8c9b50aab;hpb=9d0057854b72b5d2a1801d173dcf59ac7c04d874;p=debian%2Felilo diff --git a/ia32/Makefile b/ia32/Makefile index c5f421b..353ae67 100644 --- a/ia32/Makefile +++ b/ia32/Makefile @@ -23,15 +23,10 @@ # to use this program. # -SRCDIR = . - -VPATH = $(SRCDIR) - -include $(SRCDIR)/../Make.defaults -include $(SRCDIR)/../Make.rules - -TOPDIR=$(SRCDIR)/.. +include ../Make.defaults +include ../Make.rules +TOPDIR=$(CDIR)/.. FILES=system.o config.o bzimage.o plain_loader.o gzip_loader.o gzip.o @@ -42,13 +37,13 @@ all: $(TARGET) system.o: rmswitch.h rmswitch.h: bin_to_h.c rmswitch.S - $(CC) -o bin_to_h $(SRCDIR)/bin_to_h.c - $(AS) -o rmswitch.o $(SRCDIR)/rmswitch.S + $(CC) -o bin_to_h bin_to_h.c + $(AS) -o rmswitch.o rmswitch.S $(LD) -Ttext 0x0 -s --oformat binary -o rmswitch rmswitch.o ./bin_to_h rmswitch.h $(TARGET): $(FILES) - $(LD) $(LD3264) -r -o $@ $(FILES) + $(LD) -r -o $@ $(FILES) clean: $(RM) -f $(TARGET) $(FILES)