home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 16
/
QRZ_16.iso
/
unix
/
next
/
makefile
< prev
next >
Wrap
Makefile
|
1996-06-23
|
588b
|
31 lines
LIBS = cblib.a
HDRS = cb.h
# For a NeXT computer, use the second LIBOBJS and PROGS statement.
#LIBOBJS= pcall.o token.o namefind.o clook.o jtod.o
LIBOBJS= pcall.o token.o namefind.o clook.o jtod.o nextmmap.o
#PROGS = call nucall mknlist nsort pick mkalist
PROGS = call mknlist nsort pick
RANLIB= ranlib
#RANLIB= touch
OBJS = $(PROGS:=.o)
CFLAGS = -g -DSEEK_SET=0 -DSEEK_END=2
#CFLAGS = -DSEEK_SET=0 -DSEEK_END=2
all: $(LIBS) $(PROGS)
$(PROGS): $$@.o $(LIBS)
$(CC) $(CFLAGS) -o $@ $@.o $(LIBS)
$(LIBS): $(LIBOBJS)
ar rv cblib.a $(LIBOBJS)
$(RANLIB) cblib.a
$(OBJS): $(HDRS)