home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
278.lha
/
GnuSed
/
src
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-08-08
|
786b
|
44 lines
#
# Makefile for Gnu Sed (see public license at the top of sed.c)
#
# add getopt.o and/or alloca.o if these are not present on your system
OBJS = sed.o regex.o glob.o dir.o getopt.o alloca.o
SRC = sed.c regex.c glob.c regex.h Makefile
# on SysV systems, comment out the next line and comment out the one below it
#CFLAGS = -g -DUSG -I.
#CFLAGS = -g -I.
#CFLAGS = -O -I.
CFLAGS=+L -DAMIGA
# -n for Manx debugging
LNFLAGS=
# -g for Manx debugging
# on unix machines:
# LN=cc
# on the amiga with Manx C:
LN=ln
LIBS=dh0:usr/lib/heapmem.o32 -lc32
BINDIR=dh0:usr/local/bin
sed: $(OBJS)
$(LN) $(LNFLAGS) -o $@ $(OBJS) $(LIBS)
clean:
rm -f sed $(OBJS) core
dist: sed.tar.Z
sed.tar.Z:
tar cvzf sed.tar.Z $(SRC)
install: sed
cp -f sed $(BINDIR)