home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.orig.lzh
/
libsmall
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-06-27
|
538b
|
32 lines
# libsmall makefile
INCLUDE=../include
DEFINES=-I$(INCLUDE) -I../relay
COPTS= -O # -pg -p
CFLAGS= $(COPTS) $(DEFINES)
LINTFLAGS=-hau $(DEFINES)
LIB=libcnews.a
# RANLIB is ranlib on non-USG systems, echo on USG systems
RANLIB=ranlib
#RANLIB=:
SRCS=active.slow.c sys.slow.c
OBJS=active.slow.o sys.slow.o
# workaround for System V make bug
SHELL = /bin/sh
u: $(OBJS)
ar ruv ../libcnews.a $(OBJS)
all: $(OBJS)
$(LIB): $(SRCS)
$(CC) $(CFLAGS) -c $?
ar rv $@ *.o
rm *.o
$(RANLIB) $@
lint:
lint $(LINTFLAGS) $(SRCS)
clean:
rm -f *.o