From 63606e2329368a3900959840516fde50c9bc3ae7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 22 Nov 2005 14:12:15 +0000 Subject: 2005-11-22 Ralf Corsepius * custom/gba.cfg, custom/pc386.cfg: Use .elf instead of .obj. --- make/custom/gba.cfg | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'make/custom/gba.cfg') diff --git a/make/custom/gba.cfg b/make/custom/gba.cfg index 29fbb40a71..d154fc1e5f 100644 --- a/make/custom/gba.cfg +++ b/make/custom/gba.cfg @@ -31,26 +31,26 @@ CXXFLAGS_DEBUG_V=-O1 -ggdb define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ - -Wl,-Map,$(basename $@).map -o $(basename $@).obj \ + -Wl,-Map,$(basename $@).map -o $(basename $@).elf \ $(LINK_OBJS) $(LINK_LIBS) - $(OBJCOPY) -O binary $(basename $@).obj $@ + $(OBJCOPY) -O binary $(basename $@).elf $@ $(OBJCOPY) -O binary --remove-section=.comment \ --remove-section=.note --strip-unneeded \ - $(basename $@).obj $(basename $@).gba - $(NM) -g -n $(basename $@).obj > $(basename $@).num - $(SIZE) $(basename $@).obj + $(basename $@).elf $(basename $@).gba + $(NM) -g -n $(basename $@).elf > $(basename $@).num + $(SIZE) $(basename $@).elf endef define make-cxx-exe $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \ - -Wl,-Map,$(basename $@).map -o $(basename $@).obj \ + -Wl,-Map,$(basename $@).map -o $(basename $@).elf \ $(LINK_OBJS) $(LINK_LIBS) - $(OBJCOPY) -O binary $(basename $@).obj $@ + $(OBJCOPY) -O binary $(basename $@).elf $@ $(OBJCOPY) -O binary --remove-section=.comment \ --remove-section=.note --strip-unneeded \ - $(basename $@).obj $(basename $@).gba - $(NM) -g -n $(basename $@).obj > $(basename $@).num - $(SIZE) $(basename $@).obj + $(basename $@).elf $(basename $@).gba + $(NM) -g -n $(basename $@).elf > $(basename $@).num + $(SIZE) $(basename $@).elf endef # Miscellaneous additions go here -- cgit v1.2.3