Use a clever definition of __FBSDID to allow building on !FreeBSD systems.
This commit is contained in:
parent
71bd9b9cf9
commit
640360c2f4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user