home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
451.lha
/
Free
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-12-08
|
830b
|
31 lines
#############################################################################
# Makefile for FREE2 by Daniel Barrett.
# Intended for Manx Aztec C version 5.0a.
#############################################################################
PROGRAM = free
SRC = dos.c env.c errors.c getopt.c main.c output.c strings.c
OBJ = dos.o env.o errors.o main.o output.o strings.o
FREEOBJ = $(OBJ) getopt.o
INC = free.h
COMP_INC = headers.comp
LIBS = -lc
OPTIMIZE = -so
DEBUGGING =
CFLAGS = $(OPTIMIZE) -hi $(COMP_INC) $(DEBUGGING)
LFLAGS = +Q
$(PROGRAM): $(COMP_INC) $(FREEOBJ)
ln $(LFLAGS) $(FREEOBJ) -o $(PROGRAM) $(LIBS)
$(COMP_INC): free.h
cc $(OPTIMIZE) -ho $(COMP_INC) free.h
$(OBJ): $(INC)
getopt.o: getopt.c
cc $(OPTIMIZE) $(DEBUGGING) getopt.c -o getopt.o
clean:
delete $(FREEOBJ) $(COMP_INC) $(PROGRAM).dbg