freebsd-nq/usr.bin/make/Makefile.dist
Warner Losh db18a02be9 Linux requires -D__dead2= and -D__unused= to get rid of the
sys/cdef.h-isms in the make source.  The variant of linux I tried it
on doesn't have arc4random, so -Darc4random=random too.
2008-03-04 05:35:27 +00:00

11 lines
285 B
Makefile

# $FreeBSD$
# a simple makefile to help builds on !FreeBSD systems
pmake:
@echo 'make started.'
cc -D__dead2="" -D__unused="" -Darc4random=random -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c
cc *.o -o pmake
@echo 'make completed.'
clean:
@rm -f *.o pmake