home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-03 | 746 b | 36 lines |
- # Makefile for the GCC TOS library (16 bit int default)
-
- CC= gcc
- CPP=gcc-cpp
- AR= gcc-ar
- AS= $(CC)
- LIB = c:\gnu\lib
-
- COPTS= -mbaserel -O -Wall -fomit-frame-pointer -fstrength-reduce -DNDEBUG $(XFLAGS)
-
- # normal CFLAGS
- CFLAGS= -mshort $(COPTS)
-
- # CFLAGS sans -fomit-frame-pointer
- CFFLAGS = -mshort -mbaserel -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__ -D__MBASE__=a4 -DNDEBUG
-
- # library targets
- CLIB= bgnu16.olb
- IIOLIB= biio16.olb
- CRT0= bcrt0.o
- GCRT0= bgcrt0.o
-
- # the stuff to make
- ALL= $(CLIB) $(IIOLIB) $(CRT0) $(GCRT0)
-
- include mincl
-