home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
gnu
/
tests.lzh
/
TESTS
/
MAKEFILE.SUN
< prev
next >
Wrap
Text File
|
1993-07-29
|
575b
|
32 lines
#
# Makefile for Sun OS 4.0.3
# half the tests can be done because there are no ANSI libs
#
SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
tscanf.c tsetjm.c tsignl.c tstdio.c
.SUFFIXES: .ttp
.c.ttp:
$(CC) $(CFLAGS) -o $*.ttp $*.c strerror.o
CC= gcc
CFLAGS = -O2 -g -D_BSD
ALL = $(SRC:.c=.ttp)
all : $(ALL)
$(ALL) : strerror.o
# writable strings needed for tstdio for sscanf() in sr_test()
tstdio.ttp: tstdio.c
$(CC) $(CFLAGS) -fwritable-strings -o tstdio.ttp tstdio.c
clean:
rm -f *.o
realclean: clean
rm -f $(ALL) core report clean