home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
gnu
/
crssrc12
/
mmakefil.16
< prev
next >
Wrap
Text File
|
1993-07-29
|
834b
|
40 lines
# Makefile for the GCC curses/termcap library (16 bit int default)
CC= d:\gnu\bin\gcc.ttp
CPP=d:\gnu\bin\gcc-cpp.ttp
AR= d:\gnu\bin\gcc-ar.ttp
AS= $(CC)
LIB = d:\gnu\lib
INC = d:\gnu\include
MODEL = -mshort
DEFINES = -DDGK -DGEMDOS
COPTS= -O -fomit-frame-pointer -fcombine-regs -fstrength-reduce \
-DNDEBUG $(DEFINES) $(XFLAGS)
# normal CFLAGS
CFLAGS= $(MODEL) $(COPTS)
# CFLAGS sans -fomit-frame-pointer
CFFLAGS = $(MODEL) -O -DNDEBUG $(DEFINES)
# cflags for stuff that needs to be compiled with 32 bit ints
CLFLAGS= $(COPTS) -DSHORTLIB
# flags to $(CC) when it runs the assembler only
ASFLAGS= -c
# pre-processor flags
PPFLAGS= -P -D__MSHORT__ -DNDEBUG
# library targets
CURSES= mcurses16.olb
TERMCAP = mtermcap16.olb
# the stuff to make
ALL= $(CURSES) $(TERMCAP)
TESTS = testtcp.ttp twinkle.ttp worms.ttp
include mincl