home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
archiver
/
unix
/
zip19p1.lzh
/
MAKEFILE.GCC
< prev
next >
Wrap
Text File
|
1993-07-08
|
2KB
|
90 lines
# Makefile for Zip, ZipCloak, ZipNote and ZipSplit for
# djgcc 1.08
CRYPTO=
CLOAK=
CRFLAG=
# *** For encryption version, remove the # at the front of next 3 lines ***
#CRYPTO=crypt.o
#CLOAK=zipcloak
#CRFLAG=-DCRYPT
# ------------- djgcc -------------
CFLAGS=-Wall -O2 -DNO_ASM $(CRFLAG)
UTILFLAGS=-DUTIL $(CFLAGS) -o
CC=gcc
LD=gcc
LDFLAGS=-s
# variables
OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o $(CRYPTO)
OBJI = deflate.o trees.o bits.o match.o
OBJU = zipfile_.o zipup_.o fileio_.o util_.o globals.o
OBJN = zipnote.o $(OBJU)
OBJC = zipcloak.o $(OBJU) crypt_.o
OBJS = zipsplit.o $(OBJU)
zips: zip zipnote zipsplit $(CLOAK)
zip.o: zip.h ziperr.h tailor.h revision.h zip.c
zipfile.o: zip.h ziperr.h tailor.h zipfile.c
zipup.o: zip.h ziperr.h tailor.h revision.h zipup.c
fileio.o: zip.h ziperr.h tailor.h fileio.c
util.o: zip.h ziperr.h tailor.h util.c
globals.o: zip.h ziperr.h tailor.h globals.c
deflate.o: zip.h ziperr.h tailor.h deflate.c
trees.o: zip.h ziperr.h tailor.h trees.c
bits.o: zip.h ziperr.h tailor.h bits.c
crypt.o: zip.h ziperr.h tailor.h crypt.c
zipcloak.o: zip.h ziperr.h tailor.h revision.h zipcloak.c
zipnote.o: zip.h ziperr.h tailor.h revision.h zipnote.c
zipsplit.o: zipsplit.c zip.h ziperr.h tailor.h revision.h
zipfile_.o: zipfile.c zip.h ziperr.h tailor.h
$(CC) -c $(UTILFLAGS) $@ zipfile.c
zipup_.o: zipup.c zip.h ziperr.h tailor.h
$(CC) -c $(UTILFLAGS) $@ zipup.c
fileio_.o: fileio.c zip.h ziperr.h tailor.h
$(CC) -c $(UTILFLAGS) $@ fileio.c
util_.o: util.c zip.h ziperr.h tailor.h
$(CC) -c $(UTILFLAGS) $@ util.c
crypt_.o: crypt.c zip.h
$(CC) -c $(UTILFLAGS) $@ crypt.c
zip: $(OBJZ) $(OBJI)
$(LD) $(LDFLAGS) $(OBJZ) $(OBJI) -o $@
aout2exe $@
del $@
zipcloak: $(OBJC)
$(LD) $(LDFLAGS) $(OBJC) -o $@
aout2exe $@
del $@
zipnote: $(OBJN)
$(LD) $(LDFLAGS) $(OBJN) -o $@
aout2exe $@
del $@
zipsplit: $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o $@
aout2exe $@
del $@