29 lines
456 B
Makefile
29 lines
456 B
Makefile
# -*- makefile -*-
|
|
|
|
ifeq ($(TERM),cygwin)
|
|
MINGW=true
|
|
else
|
|
ifeq ($(OSTYPE),msys)
|
|
MINGW=true
|
|
endif
|
|
endif
|
|
|
|
TOP=../..
|
|
TARGET=gmb3
|
|
INCS=-I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/goldlib/gmb3 -I$(TOP)/goldlib/smblib
|
|
ifdef MINGW
|
|
INCS+=-I$(TOP)/goldlib/glibc
|
|
else
|
|
ifeq ($(PLATFORM),emx)
|
|
INCS+=-I$(TOP)/goldlib/glibc
|
|
endif
|
|
endif
|
|
|
|
include $(TOP)/GNUmakef.inc
|
|
ifeq ($(PLATFORM),emx)
|
|
ifeq ($(AR),emxomfar)
|
|
AR += -p32
|
|
endif
|
|
endif
|
|
include $(TOP)/GNUmakef.lib
|