forked from Imagelibrary/rtems
Missed cleanup from Ralf Corsepius.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user