diff options
Diffstat (limited to 'include/makeinclude/rules.bin.GNU')
-rw-r--r-- | include/makeinclude/rules.bin.GNU | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/makeinclude/rules.bin.GNU b/include/makeinclude/rules.bin.GNU deleted file mode 100644 index d3d2d9f2bc9..00000000000 --- a/include/makeinclude/rules.bin.GNU +++ /dev/null @@ -1,27 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Build binaries -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -ifndef OBJEXT -OBJEXT=o -endif - -VOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(SRC),$(VDIR)$(notdir $(file)))) - -ifeq ($(CHORUSLINK),true) -$(BIN): %: $(VDIR)%.o $(VOBJS) - $(LINK.cc) -o $@.xp.o $^ -u _main -u _premain $(VLDLIBS) $(LDFLAGS)$(POSTLINK) - $(MERGEDIR)/dtool/mkctors $@.xp.o > $@.ct.s - $(CXX) -c $@.ct.s - $(RM) $@.ct.s - $(LD) $(LDOPTIONS) -e _start -o $@ $(MERGEDIR)/lib/crt/crth.u.o $(MERGEDIR)/lib/crt/crt0.o $(MERGEDIR)/lib/crt/crti.o $@.xp.o $@.ct.o $(MERGEDIR)/lib/crt/crtn.o -dn -T $(MERGEDIR)/src/act/slots/act_u.ld - $(RM) $@.xp.o - $(RM) $@.ct.o -else -$(BIN): %: $(VDIR)%.o $(VOBJS) - $(LINK.cc) -o $@ $^ $(LDFLAGS) $(VLDLIBS) $(POSTLINK) -endif |