38 lines
917 B
Makefile
38 lines
917 B
Makefile
|
## -------------------------------------------------------------------
|
||
|
## The Goldware Library. Copyright (C) Odinn Sorensen and Golded+ team
|
||
|
## -------------------------------------------------------------------
|
||
|
## GCUI: Golded+ Character-oriented User Interface library.
|
||
|
## -------------------------------------------------------------------
|
||
|
# -*- makefile -*-
|
||
|
# Build library using GNU make and CNU C++ compuler.
|
||
|
|
||
|
ifeq ($(TERM),cygwin)
|
||
|
MINGW=true
|
||
|
else
|
||
|
ifeq ($(OSTYPE),msys)
|
||
|
MINGW=true
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
TOP=../..
|
||
|
TARGET=gcui
|
||
|
INCS=-I$(TOP)/goldlib/gcui -I$(TOP)/goldlib/gall
|
||
|
ifeq ($(PLATFORM),emx) || ($(PLATFORM),MINGW)
|
||
|
INCS+=-I$(TOP)/goldlib/glibc
|
||
|
endif
|
||
|
|
||
|
include $(TOP)/Config.def
|
||
|
ifneq ($(findstring GCFG_NO_MYSPELL, $(CPPFLAGS)), GCFG_NO_MYSPELL)
|
||
|
INCS+=-I$(TOP)/goldlib/hunspell
|
||
|
endif
|
||
|
|
||
|
include $(TOP)/GNUmakef.inc
|
||
|
|
||
|
ifeq ($(PLATFORM),emx)
|
||
|
ifeq ($(AR),emxomfar)
|
||
|
AR += -p32
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
include $(TOP)/GNUmakef.lib
|