summaryrefslogtreecommitdiff
path: root/cd/test/simple/config.mak
diff options
context:
space:
mode:
Diffstat (limited to 'cd/test/simple/config.mak')
-rwxr-xr-xcd/test/simple/config.mak17
1 files changed, 15 insertions, 2 deletions
diff --git a/cd/test/simple/config.mak b/cd/test/simple/config.mak
index fee0960..2777b7d 100755
--- a/cd/test/simple/config.mak
+++ b/cd/test/simple/config.mak
@@ -1,13 +1,26 @@
APPNAME = simple
+ifdef USE_GDK
+ APPNAME = simplegdk
+ USE_GTK = Yes
+else
+ DEFINES = USE_CONTEXTPLUS
+endif
+
SRC = simple.c simple_led.c iupmain.c
-DBG = Yes
+#DBG = Yes
USE_CD=Yes
USE_IUP3=Yes
+ifeq "$(TEC_SYSNAME)" "Win32"
+ LEDC = $(IUP)/bin/$(TEC_SYSNAME)/ledc
+else
+ LEDC = $(IUP)/bin/$(TEC_UNAME)/ledc
+endif
+
simple_led.c: simple.led
- ledc -f simple_loadled -o simple_led.c simple.led
+ $(LEDC) -f simple_loadled -o simple_led.c simple.led
USE_STATIC = Yes