home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
213b.lha
/
Flex
/
Flex2
/
gnu.lib.src
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-02-14
|
1KB
|
48 lines
# to make the GNU support library on the amiga (with a few extras thrown in)
# the +m is for stack depth checking while debugging things...
#CFLAGS = -b +m
CFLAGS = -b
LFLAGS =
LIBS = -lc
.c.o32 :
cc +l $(CFLAGS) $*.c -o $@
.c.ol32 :
cc +p +m $(CFLAGS) $*.c -o $@
OBJS = alloca.o closedir.o getopt.o opendir.o popen.o readdir.o realloc.o \
rewinddir.o seekdir.o telldir.o xcalloc.o xmalloc.o xrealloc.o \
bcmp.o bcopy.o bzero.o memfull.o
O32S = alloca.o32 closedir.o32 getopt.o32 opendir.o32 popen.o32 readdir.o32 \
realloc.o32 rewinddir.o32 seekdir.o32 telldir.o32 xcalloc.o32 \
xmalloc.o32 xrealloc.o32 bcmp.o32 bcopy.o32 bzero.o32 memfull.o32
OL32S = alloca.ol32 closedir.ol32 getopt.ol32 opendir.ol32 popen.ol32 \
realloc.ol32 readdir.ol32 rewinddir.ol32 seekdir.ol32 telldir.ol32 \
xcalloc.ol32 xmalloc.ol32 xrealloc.ol32 bcmp.ol32 bcopy.ol32 \
bzero.ol32 memfull.ol32
gnu.lib : $(OBJS)
- delete gnu.lib
lb gnu.lib $(OBJS)
gnu32.lib : $(O32S)
- delete gnu32.lib
lb gnu32.lib $(O32S)
gnul32.lib : $(OL32S)
- delete gnul32.lib
lb gnul32.lib $(OL32S)
alloca.o : alloca.c
cc $(CFLAGS) -dSTACK_DIRECTION=-1 -o alloca.o alloca.c
alloca.o32 : alloca.c
cc +l $(CFLAGS) -dSTACK_DIRECTION=-1 -o alloca.o32 alloca.c
alloca.ol32 : alloca.c
cc +p +m $(CFLAGS) -dSTACK_DIRECTION=-1 -o alloca.ol32 alloca.c