summaryrefslogtreecommitdiff
path: root/test/simple/config.mak
blob: bf10d3bdff7b3cc114d1ba15fcaa0ef46655238f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
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

USE_STATIC = Yes

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

#USE_IM = Yes

ifneq ($(findstring Win, $(TEC_SYSNAME)), )
  LIBS = cdpdf pdflib
  ifndef USE_GDK
    LIBS += cdcontextplus gdiplus
  endif
else
  ifdef DBG_DIR
    CDLIB = $(CD)/lib/$(TEC_UNAME)d
  else
    CDLIB = $(CD)/lib/$(TEC_UNAME)
  endif  

  SLIB = $(CDLIB)/libcdpdf.a $(CDLIB)/libpdflib.a 
  ifndef USE_GDK
    SLIB += $(CDLIB)/libcdcontextplus.a
    LIBS = Xrender Xft
  else  
  endif
endif