PROJNAME = iup
LIBNAME = iupcd
OPT = YES

DEFINES = CD_NO_OLD_INTERFACE
SRC = iup_cd.c iup_cdutil.c iup_draw_cd.c
DEF_FILE = iupcd.def

USE_CD=YES
# Can not use USE_IUP because Tecmake will include "iupcd" in linker

INCLUDES = ../include ../src
LIBS = iup
LDIR = ../lib/$(TEC_UNAME)

ifneq ($(findstring MacOS, $(TEC_UNAME)), )
  ifneq ($(TEC_SYSMINOR), 4)
    BUILD_DYLIB=Yes
  endif
endif
