Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (11 sloc) 0.415 kb
#!/bin/sh
test -f config.inc && mv config.inc config.inc.bak
test -f core/config.h && mv core/config.h core/config.h.bak
if make --version 2>/dev/null | grep GNU
then
make -f config.mak $@
else
sed -e's, ?= , = ,;s,-lm -ldl,-lm,;s,config.mak,config.mk,g;s,makefile-gmake,makefile-bsdmake,;' config.mak > config.mk
sed -e's, ?= , = ,;s,config.mak,config.mk,g;' Makefile > BSDmakefile
make -f config.mk $@
fi
Jump to Line
Something went wrong with that request. Please try again.