chiark / gitweb /
fix build-depends for tinycdb; improve changelog
[chiark-tcl.git] / base / common.make
index d5db198ec7288828869827489d22eb1de6df339e..6e3852a88ea180a4a6e063400dda7c31bf162305 100644 (file)
@@ -19,6 +19,8 @@
 
 VERSION ?=     1
 FAMILY ?=      chiark_tcl
+TCL_VERSION ?= 8.3
+TCL_INCLUDEDIR ?= /usr/include/tcl$(TCL_VERSION)
 
 OPTIMISE ?=            -O2
 TCL_MEM_DEBUG ?=       -DTCL_MEM_DEBUG
@@ -33,7 +35,7 @@ endif
 
 CFLAGS +=      -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
                $(OPTIMISE)
-CPPFLAGS +=    -I$(BASE_DIR)
+CPPFLAGS +=    -I$(TCL_INCLUDEDIR) -I$(BASE_DIR)
 CPPFLAGS +=    $(TCL_MEM_DEBUG)
 
 AUTOS +=       $(AUTO_SRCS) $(AUTO_HDRS)