Makefile +Tools
[henge/webcc.git] / src / .make / build.mk
index 12affc7..eb98325 100644 (file)
@@ -3,7 +3,7 @@
 #Author: Mihrtec LLC
 #Date:   2016
 ##################################################
-#Included from ./build.mk
+#Included from Makefile
 #Defines variables used in the make process to
 #compile C files either to
 #native asm through gcc, or web through
 PROJDIR  := ..
 #Output directories for distributables
 DISTDIR  := $(PROJDIR)/dist
-
 #Build rules for each source type
 include .make/buildc.mk
 include .make/buildhtml.mk
 
+#Build rules for tools
+ifdef TOOLS
+include .make/buildtools.mk
+endif
+
 #Set the final target, flags, and objects for app compile
 APPC     := $(CC)
 APPDEPS  := $(strip $(CDEPS) $(CTARG) $(APPDEPS))