home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
gnu
/
brik-2.0-src.lha
/
brik-2.0
/
makefile.manx
< prev
next >
Wrap
Makefile
|
1993-08-30
|
1KB
|
45 lines
# Makefile for brik
# ::[[ @(#) makefile.nix 1.2 89/07/08 10:41:32 ]]::
# Please see brik.h for configuration options.
# Make sure this file is called "makefile" (rename it if necessary). Then
# type one of the following.
#
# "make bsd", "make sys_v", "make ultrix", "make uport"
# -- makes brik in current directory
# "make install" -- makes brik, then moves it into DESTDIR defined below
# "make clean" -- deletes "core", objects, and executable
# Directory where we want to move executable brik on "make install"
DESTDIR=/usr/local/bin/.
# CFLAGS and CMORE are flags for the C compiler.
# LDFLAGS and LDMORE are flags for the loader.
CFLAGS=-O
CMORE=-DSYS_V
LDFLAGS=
LDMORE=
CC=cc
LD=$(CC)
.c.o :
$(CC) -c $(CFLAGS) $(CMORE) $*.c
OBJS = brik.o initcrc.o addbfcrc.o
brik: $(OBJS)
$(LD) $(LDFLAGS) $(LDMORE) -o brik $(OBJS)
brik.o: brik.c brik.h assert.h
initcrc.o: initcrc.c brik.h
install: brik
mv brik $(DESTDIR)/brik
clean:
/bin/rm -f $(OBJS) core brik