# Makefile for the GCC Gem interface library (16 bit int default)

CC= gcc
CPP= gcc-cpp
AR= gcc-ar
AS= $(CC)

LIB = d:\gnu\lib

# common subset of options; no int size or omit-frame-pointer:
COPTS= -O -g -I. -DNDEBUG $(XFLAGS)

# Base options CC; includes int size but not omit-frame-pointer
CFFLAGS = $(COPTS)

# normal CFLAGS including int size and omit-frame-pointer
CFLAGS= $(CFFLAGS)

# cflags for stuff that needs to be compiled with 32 bit ints
CLFLAGS= $(CFLAGS)

# flags to $(CC) when it runs the assembler only
ASFLAGS= -c

# pre-processor flags
PPFLAGS= -P -D__NO_INLINE__

# library targets
GEMLIB= gem.olb

# the stuff to make
ALL= $(GEMLIB)

include mincl
