summaryrefslogtreecommitdiff
path: root/cd/test/cdtest/config.mak
diff options
context:
space:
mode:
Diffstat (limited to 'cd/test/cdtest/config.mak')
-rwxr-xr-xcd/test/cdtest/config.mak14
1 files changed, 13 insertions, 1 deletions
diff --git a/cd/test/cdtest/config.mak b/cd/test/cdtest/config.mak
index e04e7d1..2bf3e1c 100755
--- a/cd/test/cdtest/config.mak
+++ b/cd/test/cdtest/config.mak
@@ -1,16 +1,28 @@
APPNAME = cdtest
+ifdef USE_GDK
+ APPNAME = cdtestgdk
+ USE_GTK = Yes
+endif
+ifdef USE_CONTEXTPLUS
+ APPNAME = cdtestplus
+ DEFINES = USE_CONTEXTPLUS
+endif
+
SRC = cdtest.c cdtest_led.c colorbar.c drivers.c list.c rubber.c
ifeq "$(TEC_SYSNAME)" "Win32"
SRC += cdtest.rc
+ LEDC = $(IUP)/bin/$(TEC_SYSNAME)/ledc
+else
+ LEDC = $(IUP)/bin/$(TEC_UNAME)/ledc
endif
USE_CD=Yes
USE_IUP3=Yes
cdtest_led.c: cdtest.led
- ledc -f cdtest_loadled -o cdtest_led.c cdtest.led
+ $(LEDC) -f cdtest_loadled -o cdtest_led.c cdtest.led
USE_STATIC = Yes