--- branches/mage-next/src/Makefile 2014/09/03 11:57:32 2809 +++ branches/mage-next/src/Makefile 2014/09/03 11:58:06 2810 @@ -9,11 +9,12 @@ FILES = common.functions.sh mage4.functions.sh smage2.functions.sh MAGE_SCRIPTS = compressdoc create_desktop_app depwalker mkinfodir pkg_all_sources pkgbuild_dir SBIN_SCRIPTS= env-rebuild etc-update mage magequery smage2 -PROGS = highestver vercomp +PROGS = vercomp highestver highest_magefile common_SOURCES = package.c package.h vercomp_SOURCES = vercomp.c $(common_SOURCES) highestver_SOURCES = highestver.c $(common_SOURCES) +highest_magefile_SOURCES = highest_magefile.c $(common_SOURCES) all: $(SUBDIRS) $(FILES) $(MAGE_SCRIPTS) $(SBIN_SCRIPTS) $(PROGS) $(CHMOD) +x $(MAGE_SCRIPTS) @@ -25,6 +26,9 @@ highestver: $(highestver_SOURCES) $(CC) $(highestver_SOURCES) -o $@ +highest_magefile: $(highest_magefile_SOURCES) + $(CC) $(highest_magefile_SOURCES) -o $@ + install: $(INSTALLDIRS) all $(INSTALLDIR) $(DESTDIR)/$(MAGELIBDIR) $(INSTALLFILE) $(FILES) $(DESTDIR)/$(MAGELIBDIR)