prototype IR and parser
[henge/webcc.git] / src / .make / buildtools.mk
1 ##################################################
2 #Desc: Build rules for independent tools
3 #Author: Mihrtec LLC
4 #Date: 2016
5 ##################################################
6 #Included from ./build.mk
7 #sources and flags for tools
8 ##################################################
9 apcCC := gcc
10 apcSRC := $(wildcard apc/*.c)
11 apcFLG := $(CFLAGS)
12 apcCL := -r /usr/local/the_march -o $(DISTDIR)/file.asspack
13
14 TOOLSUP := $(shell echo '$(TOOLS)' | tr '[:lower:]' '[:upper:]')
15 TOOLSRC := $(foreach tool,$(TOOLS),$($(tool)SRC))
16 TOOLOBJ := $(TOOLSRC:.c=.o)