home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
archiver
/
compres2
/
makefile.min
< prev
next >
Wrap
Makefile
|
1993-07-07
|
896b
|
35 lines
#
# MAKE FILE FOR UNIX SYSTEMS (MINIX using gcc)
# add what optimizion options your system supports
# on some systems there may be no setvbuf() or the code may generate
# errors if the large buffer is used for the stream, if so :
# add -DNO_SETVBUF (this is done in compress.h under #ifdef UNIX -Dal)
# and if your system doesn't support either setvbuf or setbuf
# add -DNO_SETBUF
# add -DALLOC if your system uses alloc() instead of malloc()
# add -DNOSIGNAL for faster processing on a unix pc
CFLAGS=-DMINIX -DUNIX -DNDEBUG -traditional -U__GNUC__ -O
CC = mgcc
OFLAGS= -s -z
LIB=
PROG=compress
OBJ=compress.o compusi.o compapi.o
BIN=/usr/bin
$(PROG): $(OBJ)
$(CC) -o $(PROG) $(OFLAGS) $(OBJ) $(LIB)
chmem =400000 $(PROG)
install:
cp $(PROG) $(BIN)
ln $(BIN)/$(PROG) $(BIN)/uncompress
ln $(BIN)/$(PROG) $(BIN)/zcat
compapi.o: compress.h
compress.o: compress.h
compusi.o: compress.h