DEADSOFTWARE

Makefile fixed
[bbcp.git] / BlackBox / _Linux_ / Lin / Mod / gen-LibW / Makefile
1 # This is BSD Makefile
2 # BSD GNU
3 # ${.TARGET} $@
4 # ${.ALLSRC} $^
5 # ${.IMPSRC} $<
7 INCDIR ?= /usr/include
9 PY = python2.7
11 CFLAGS += -m32
13 DEFS = defs-basictypes defs-lc
15 all: LibW.txt ${DEFS}
17 LibW.txt: LibW.txt.templ ${DEFS} libver osname machine
18 ${PY} ./untempl.py LibW.txt.templ $@
20 defs-basictypes: sizeofs
21 ./sizeofs > $@
23 defs-lc: mklc
24 ./mklc > $@
26 clean:
27 rm -f ${DEFS} LibW.txt sizeofs mklc