summaryrefslogtreecommitdiff
path: root/test/cdtest/config.mak
blob: fc1fb4a0ccc90d635928631b53bc6e9b01846c3b (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
APPNAME = cdtest

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