summaryrefslogtreecommitdiff
path: root/test/cdtest/config.mak
blob: 201e44b54cd8ce162e6b2b2457ad827510570a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
APPNAME = cdtest

ifdef USE_GDK
  APPNAME = cdtestgdk
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

USE_STATIC = Yes

#IUP = ../../../iup
#CD = ../..

ifneq ($(findstring Win, $(TEC_SYSNAME)), )
  LIBS = cdpdflib pdflib
else
  SLIB = $(CD)/lib/$(TEC_UNAME)/libcdpdf.a $(CD)/lib/$(TEC_UNAME)/libpdflib.a
endif