home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-03 | 757 b | 38 lines |
- # Makefile for the GCC TOS library (32 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= $(COPTS)
-
- # CFLAGS sans -fomit-frame-pointer
- CFFLAGS = -mbaserel -O -Wall -DNDEBUG
-
- # cflags for stuff that needs to be compiled with 32 bit ints
- # (this def is needed for the common include file)
- CLFLAGS= $(CFLAGS)
-
- # flags to $(CC) when it runs the assembler only
- ASFLAGS= -c
-
- # pre-processor flags
- PPFLAGS= -P -D__MBASE__=a4 -DNDEBUG
-
- # library targets
- CLIB= bgnu.olb
- IIOLIB= biio.olb
- CRT0= bcrt0.o
- GCRT0= bgcrt0.o
-
- # the stuff to make
- ALL= $(CLIB) $(IIOLIB) $(CRT0) $(GCRT0)
-
- include mincl
-