CFLAGS =
CPPFLAGS =
+# tcl dir is a symlink to the current version (tcl8.6), better for future
ifeq ($(findstring Ubuntu,$(shell uname -v)),Ubuntu)
- CC += -I/usr/include/tcl8.5
- SCC += -I/usr/include/tcl8.5
- CPLUSPLUS += -I/usr/include/tcl8.5
+ CC += -I/usr/include/tcl
+ SCC += -I/usr/include/tcl
+ CPLUSPLUS += -I/usr/include/tcl
+endif
+
+ifeq ($(findstring Debian,$(shell uname -v)),Debian)
+ CC += -I/usr/include/tcl
+ SCC += -I/usr/include/tcl
+ CPLUSPLUS += -I/usr/include/tcl
endif
ifeq ($(PACKAGING_TOP),)