home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-29 | 735 b | 34 lines |
- # Makefile for the GCC TOS 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
-
- COPTS= -O -Wall -fomit-frame-pointer -fcombine-regs -fstrength-reduce -DNDEBUG $(XFLAGS)
-
- # normal CFLAGS
- CFLAGS= -mshort $(COPTS)
-
- # CFLAGS sans -fomit-frame-pointer
- CFFLAGS = -mshort -O -Wall -DNDEBUG
-
- # 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
- CLIB= gnu16.olb
- IIOLIB= iio16.olb
-
- # the stuff to make
- ALL= $(CLIB) $(IIOLIB) crt0.o gcrt0.o
-
- include mincl
-