36 lines
538 B
Makefile
36 lines
538 B
Makefile
# -*- makefile -*-
|
|
|
|
ifeq ($(TERM),cygwin)
|
|
MINGW=true
|
|
else
|
|
ifeq ($(OSTYPE),msys)
|
|
MINGW=true
|
|
endif
|
|
endif
|
|
|
|
TOP=../..
|
|
TARGET=gall
|
|
INCS=-I$(TOP)/goldlib/gall
|
|
ifdef MINGW
|
|
INCS+=-I$(TOP)/goldlib/glibc
|
|
else
|
|
ifeq ($(findstring EMX, $(PATH)), EMX)
|
|
INCS+=-I$(TOP)/goldlib/glibc
|
|
endif
|
|
endif
|
|
|
|
include $(TOP)/Config.def
|
|
ifneq ($(findstring GCFG_NO_MYSPELL, $(CPPFLAGS)), GCFG_NO_MYSPELL)
|
|
INCS+=-I$(TOP)/goldlib/myspell
|
|
endif
|
|
|
|
include $(TOP)/GNUmakef.inc
|
|
|
|
ifeq ($(PLATFORM),emx)
|
|
ifeq ($(AR),emxomfar)
|
|
AR += -p32
|
|
endif
|
|
endif
|
|
|
|
include $(TOP)/GNUmakef.lib
|