From d4aa420319bff15a6f84f679c6374dda7cf1b0f2 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Mon, 9 Dec 2013 20:56:25 -0800 Subject: move newly split files into src/ directory --- src/GNUmakefile | 214 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 src/GNUmakefile (limited to 'src/GNUmakefile') diff --git a/src/GNUmakefile b/src/GNUmakefile new file mode 100644 index 0000000..fcf79a6 --- /dev/null +++ b/src/GNUmakefile @@ -0,0 +1,214 @@ +# non-recursive prologue +sp := $(sp).x +dirstack_$(sp) := $(d) +d := $(abspath $(lastword $(MAKEFILE_LIST))/..) + +ifeq ($(origin GUARD_$(d)), undefined) +GUARD_$(d) := 1 + + +# +# E N V I R O N M E N T C O N F I G U R A T I O N +# +include $(d)/../GNUmakefile + + +# +# C O M P I L A T I O N F L A G S +# +OS_$(d) = $(shell $(d)/../mk/vendor.os) +CC_$(d) = $(shell $(d)/../mk/vendor.cc) +LUAPATH_$(d) = $(shell env CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(" + +help: $(d)/help + + +endif # include guard + +# non-recursive epilogue +d := $(dirstack_$(sp)) +sp := $(basename $(sp)) -- cgit v1.2.3-59-g8ed1b