home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d473
/
cnewssrc
/
cnews_src.lzh
/
libc
/
mk.amiga
< prev
next >
Wrap
Text File
|
1990-12-15
|
870b
|
44 lines
# C news local libc makefile - added by Ian Darwin
# AMIGA
# CC = lc
CC = cc
INCLUDE = /include
DEFINES = -I$(INCLUDE) -DFJE -DAMIGA
# AMIGA
# COPTS=-O # -g -p
COPTS = -bs -sab -wl
CFLAGS = $(COPTS) $(DEFINES)
LINTFLAGS = -hau $(DEFINES)
# workaround for System V make bug
SHELL = /bin/sh
SRCS = closeall.c efopen.c error.c fgetmfs.c nfclose.c \
standard.c stdfdopen.c warning.c emalloc.c
OBJS = closeall.o efopen.o error.o fgetmfs.o getdate.o nfclose.o \
standard.o stdfdopen.o warning.o emalloc.o
# RANLIB is ranlib on non-USG systems, echo on USG systems
#RANLIB=ranlib
#RANLIB=echo
LIB = /libcnews.lib
.c.o:
$(CC) $(CFLAGS) $*.c
all: $(OBJS)
getdate.c: getdate.y
bison $*.y
-delete getdate.c
rename getdate.tab.c getdate.c
getdate.o: getdate.c
$(CC) $(CFLAGS) -o $@ $*.c
lint:
lint $(LINTFLAGS) $(SRCS)
clean:
rm -f *.o *.a getdate.c y.*.h y.*.c