# -*- makefile -*-
ifeq ($(TERM),cygwin)
MINGW=true
else
ifeq ($(OSTYPE),msys)
endif
TOP=..
include $(TOP)/Config.def
SHORTTARGET=ged
TARGET=golded3
GLIBS=gmb3 gall gcfg uulib smblib
ifneq ($(findstring GCFG_NO_MYSPELL, $(CPPFLAGS)), GCFG_NO_MYSPELL)
GLIBS+=hunspell
INCS=-I. -I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/goldlib/gmb3 -I$(TOP)/goldlib/uulib -I$(TOP)/goldlib/smblib
ifeq ($(findstring EMX, $(PATH)), EMX)
STDLIBS=-los2me -lstdcpp
GLIBS+=glibc
INCS+=-I$(TOP)/goldlib/glibc
ifdef MINGW
STDLIBS=-luser32 -lwinmm
include $(TOP)/GNUmakef.inc
include $(TOP)/GNUmakef.prg