diff options
author | Robert de Bath <rdebath@poboxes.com> | 2002-04-17 22:05:01 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:46 +0200 |
commit | 352e3b3230dfc6746be6d53325ffe1e33efc5289 (patch) | |
tree | 4c169beb4657a1ed3a046817db01cbe49b17017c /Makefile | |
parent | df538463687d768b6ee8247ff4412b78850e7404 (diff) | |
download | dev86-352e3b3230dfc6746be6d53325ffe1e33efc5289.tar.gz |
Import Dev86src-0.16.3.tar.gzv0.16.3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -2,6 +2,8 @@ # This file is part of the Linux-8086 Development environment and is # distributed under the GNU General Public License. +VERSION=0.16.3 + TARGETS= \ clean bcc unproto copt as86 ld86 elksemu \ install install-all install-bcc install-emu install-lib \ @@ -18,10 +20,10 @@ CFLAGS= -O # Some makes take the last of a list as the default ... all: make.fil - PATH="`pwd`/bin:$$PATH" $(MAKE) -f make.fil TOPDIR=`pwd` $@ + PATH="`pwd`/bin:$$PATH" $(MAKE) -f make.fil VERSION=$(VERSION) TOPDIR=`pwd` $@ $(TARGETS): make.fil - PATH="`pwd`/bin:$$PATH" $(MAKE) -f make.fil TOPDIR=`pwd` $@ + PATH="`pwd`/bin:$$PATH" $(MAKE) -f make.fil VERSION=$(VERSION) TOPDIR=`pwd` $@ $(TARGETS): @@ -29,7 +31,7 @@ ld: ld86 as: as86 realclean: - -[ ! -f make.fil ] || $(MAKE) -f make.fil TOPDIR=`pwd` $@ + -[ ! -f make.fil ] || $(MAKE) -f make.fil VERSION=$(VERSION) TOPDIR=`pwd` $@ -rm -f make.fil ifdef ifdef.o make.fil: ifdef makefile.in @@ -70,5 +72,5 @@ Uninstall: @# TO HERE distribution: - @[ `id -u` -eq 0 ] || fakeroot -- sh ./Mk_dist - @[ `id -u` -ne 0 ] || sh ./Mk_dist + @[ `id -u` -eq 0 ] || fakeroot -- sh ./Mk_dist $(VERSION) + @[ `id -u` -ne 0 ] || sh ./Mk_dist $(VERSION) |