home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
EUROSET.ZIP
/
MAKEFILE
< prev
Wrap
Text File
|
1994-01-27
|
2KB
|
73 lines
# Makefile
#-----------------------------------------------------------------------------
# Abstract:
# Folding library MIME encodings.
#
# Design:
# This Makefile will work under Unix, and with Borland's make. I haven't
# understood how I can get anything to work with Microsoft's make.
#
# Assumes that some DOS utilities (i.e. make, pkzip, shar) are clever
# enough to understand Unix subdirectory separator (/).
#
# To make the fold library on a particular platform, set/remove comments
# in the "customization section" below. Also, edit the directories etc.
# so things install in the right places.
#
# Targets:
# - all : build program
# - shar : Unix shar archive (source distribution)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# START OF CUSTOMIZATION SECTION
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Borland C
#CC = bcc
#CFLAGS = -w-pia -w-def
#LFLAGS = -edemo
#OBJ = obj
#OBJS = demo.obj fold.obj
#RM = rm
#EXES = demo.exe
#RMISC =
# UNIX
CC = cc
CFLAGS =
LFLAGS = -o demo
OBJ = o
OBJS = demo.o fold.o
RM = \rm -f
EXES = demo
RMISC = *~
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# END OF CUSTOMIZATION SECTION
#-----------------------------------------------------------------------------
.c.obj:
$(CC) -c $(CFLAGS) $<
all: $(EXES)
$(EXES): $(OBJS)
$(CC) $(LFLAGS) $(OBJS)
demo.$(OBJ): demo.c fold.h
fold.$(OBJ): fold.c fold.h
#---( housekeeping )----------------------------------------------------------
clean:
$(RM) $(OBJS) $(EXES) fold.shr $(RMISC)
#Unix only
shar: AAREAD.ME Makefile demo.c fold.c fold.h iso8859-1.ps
$(RM) fold.shr
shar AAREAD.ME Makefile demo.c fold.c fold.h iso8859-1.ps > fold.shr
# EOF