Missed cleanup from Ralf Corsepius.

This commit is contained in:
Joel Sherrill
2000-01-10 18:56:10 +00:00
parent 70af0ea116
commit aa1d76ed8d
2 changed files with 10 additions and 8 deletions

View File

@@ -61,10 +61,11 @@ endef
else
define make-exe
$(CXX) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
$(LINK.c) \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $(basename $@).exe > $(basename $@).num
$(SIZE) $(basename $@).exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
endif

View File

@@ -62,11 +62,12 @@ define make-exe
endef
else
define make-exe
$(CXX) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $(basename $@).exe > $(basename $@).num
$(OBJCOPY) -oformat binary $(basename $@).exe $(basename $@).bin
$(SIZE) $(basename $@).exe
$(LINK.c) \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num
$(OBJCOPY) -oformat binary $@ $(basename $@).bin
$(SIZE) $@
endef
endif