diff options
author | Robert de Bath <rdebath@poboxes.com> | 2010-10-23 17:32:23 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:50 +0200 |
commit | dddc44a59e3e393d5440a06e2b0535aeb1304f77 (patch) | |
tree | cfc2b774571f7cd6513a7e2f01a04518016e4995 /Makefile | |
parent | 62c27c1c5cb6257b13dfc9be0394e0d2e86f2735 (diff) | |
download | dev86-dddc44a59e3e393d5440a06e2b0535aeb1304f77.tar.gz |
Import Dev86src-0.16.18.tar.gzv0.16.18
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -2,7 +2,7 @@ # This file is part of the Linux-8086 Development environment and is # distributed under the GNU General Public License. -VERSION=0.16.17 +VERSION=0.16.18 TARGETS=install clean other \ bcc86 unproto copt as86 ld86 elksemu \ @@ -19,6 +19,7 @@ INCLDIR= $(PREFIX)/lib/bcc ASLDDIR= $(BINDIR) MANDIR= $(PREFIX)/man CFLAGS= -O +IFDEFNAME= ifdef # Some makes take the last of a list as the default ... all: make.fil @@ -34,10 +35,10 @@ as: as86 realclean: -[ ! -f make.fil ] || $(MAKE) -f make.fil VERSION=$(VERSION) TOPDIR=`pwd` $@ - -rm -f make.fil ifdef ifdef.o + -rm -f make.fil ifdef ifdefg -make.fil: ifdef makefile.in - ./ifdef -MU makefile.in >tmp.mak +make.fil: $(IFDEFNAME) makefile.in + ./$(IFDEFNAME) -MU makefile.in >tmp.mak echo > tmp.sed [ "$(BINDIR)" != "//bin" ] || echo >> tmp.sed "s:%BINDIR%:/bin:" [ "$(LIBDIR)" != "//lib/bcc" ] || echo >> tmp.sed "s:%LIBDIR%:/lib:" @@ -58,11 +59,8 @@ make.fil: ifdef makefile.in mv -f make.tmp make.fil @rm -f tmp.mak tmp.sed -ifdef: ifdef.o - $(CC) $(IFDEFARCH) $(LDFLAGS) -o ifdef ifdef.o - -ifdef.o: ifdef.c - $(CC) $(IFDEFARCH) $(CFLAGS) $(IFDEFFLAGS) -c ifdef.c +$(IFDEFNAME): ifdef.c + $(CC) $(IFDEFARCH) $(CFLAGS) $(IFDEFFLAGS) $(LDFLAGS) -o $(IFDEFNAME) ifdef.c uninstall: @echo 'Sorry, no go; it was just wrong.' |