X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fexecutable-targets.make;h=b16bf89807a7ba77da55297235a21d9ee83b8d6d;hb=04ae3a59a98ccdfa95db5664c88223a5805dc3db;hp=85d77ef212e0019d39bcedcd551dcd0c04ff968a;hpb=0a92b605eb18b62d171c97f354c2101109d9e071;p=lilypond.git diff --git a/stepmake/stepmake/executable-targets.make b/stepmake/stepmake/executable-targets.make index 85d77ef212..b16bf89807 100644 --- a/stepmake/stepmake/executable-targets.make +++ b/stepmake/stepmake/executable-targets.make @@ -1,38 +1,23 @@ -# Executable.make - -# dependency list of executable: -# - default: $(EXECUTABLE) -$(EXECUTABLE): $(depth)/config.h $(O_FILES) $(outdir)/version.hh - $(foreach a, $(MODULE_LIBS), $(MAKE) -C $(a) && ) true - $(LD_COMMAND) $(O_FILES) $(LOADLIBES) $(USER_LDFLAGS) - exe: $(EXECUTABLE) +local-install: installexe - -localinstall: installexe - -localuninstall: uninstallexe +local-uninstall: uninstallexe installexe: all -$(INSTALL) -d $(bindir) $(foreach a, $(EXECUTABLES), \ - $(INSTALL) -m 755 $(outdir)/$(a) $(bindir)/$(a)$(DOTEXE) && \ - strip $(bindir)/$(a)$(DOTEXE) && ) true + $(INSTALL) -m 755 $(outdir)/$(a) \ + $(bindir)/$(program_prefix)$(a)$(program_suffix) && \ + strip $(bindir)/$(program_prefix)$(a)$(program_suffix) && ) true $(foreach a, $(SEXECUTABLES), \ $(INSTALL) -m 755 $(outdir)/$(a) $(bindir) &&) true uninstallexe: - $(foreach a, $(EXECUTABLES), rm -f $(bindir)/$(a)$(DOTEXE) &&) true + $(foreach a, $(EXECUTABLES), rm -f \ + $(bindir)/$(program_prefix)$(a)$(program_suffix) && ) true $(foreach a, $(SEXECUTABLES), rm -f $(bindir)/$(a) &&) true -# Piss off. Use MODULE_LIBS -# -# UGH. fucks up if $(outdir) not created. -# -#%/$(outdir)/library.a: -# $(MAKE) -C $(dir $@)/.. default