diff options
author | imp <imp@FreeBSD.org> | 2007-12-09 16:48:51 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-12-09 16:48:51 +0000 |
commit | 3f2bc4767df0b4622ebdb86333bbed90e3c6ce5f (patch) | |
tree | 90923cd1421efe774dd0a7c6a191f661de68ee25 /usr.bin | |
parent | f0253dbb16b4d515a1828fbedc6a2df706d1fbd1 (diff) | |
download | FreeBSD-src-3f2bc4767df0b4622ebdb86333bbed90e3c6ce5f.zip FreeBSD-src-3f2bc4767df0b4622ebdb86333bbed90e3c6ce5f.tar.gz |
Use a clever definition of __FBSDID to allow building on !FreeBSD systems.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/Makefile.dist | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/Makefile.dist b/usr.bin/make/Makefile.dist index 0a485e1..d50804d 100644 --- a/usr.bin/make/Makefile.dist +++ b/usr.bin/make/Makefile.dist @@ -1,7 +1,10 @@ # $FreeBSD$ -# a very simple makefile... +# a simple makefile to help builds on !FreeBSD systems pmake: @echo 'make started.' - cc -DDEFSHELLNAME=\"sh\" -I. -c *.c + cc -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c cc *.o -o pmake @echo 'make completed.' + +clean: + @rm -f *.o pmake |