home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ANews 1
/
AnewsCD01.iso
/
Indispensables
/
Compression
/
xfd
/
Developer
/
Sources
/
C
/
SMakeFile
< prev
next >
Wrap
Makefile
|
1999-08-03
|
1KB
|
45 lines
SCOPTS = RESOPT NOSTACKCHECK STRINGMERGE UNSIGNEDCHARS\
NOCHECKABORT OPTIMIZE OPTIMIZERTIME OPTIMIZERLOOP OPTINLOCAL NOICONS\
MEMSIZE=HUGE DATA=FARONLY CODE=FAR DEBUG=LINE
SLOPTS = SMALLDATA SMALLCODE NOICONS
OBJDIR = T:
XFD: UNIX-Compress GZip
# ************* Same code as xfd-Modul, but is startable OS2.0 Exe File
EXE: UNIX-CompressExe GZipExe
ALL: XFD EXE
# ************* global header
$(OBJDIR)extheader.o: extheader.c
sc $(SCOPTS) $? OBJNAME=$@
$(OBJDIR)Exehead.o: ExeHead.c
sc $(SCOPTS) $? OBJNAME=$@
# ************* UNIX-Compress
UNIX-Compress: $(OBJDIR)extheader.o $(OBJDIR)UNIX-Compress.o
slink $(SLOPTS) FROM $(OBJDIR)extheader.o $(OBJDIR)UNIX-Compress.o STRIPDEBUG TO $@
UNIX-CompressExe: $(OBJDIR)ExeHead.o $(OBJDIR)UNIX-Compress.o
slink $(SLOPTS) FROM $(OBJDIR)ExeHead.o $(OBJDIR)UNIX-Compress.o TO $@
$(OBJDIR)UNIX-Compress.o: UNIX-Compress.c
sc $(SCOPTS) $? OBJNAME=$@
# ************* GZip
GZip: $(OBJDIR)extheader.o $(OBJDIR)GZip.o
slink $(SLOPTS) FROM $(OBJDIR)extheader.o $(OBJDIR)GZip.o STRIPDEBUG TO $@
GZipExe: $(OBJDIR)ExeHead.o $(OBJDIR)GZip.o
slink $(SLOPTS) FROM $(OBJDIR)ExeHead.o $(OBJDIR)GZip.o TO $@
$(OBJDIR)GZip.o: GZip.c
sc $(SCOPTS) $? OBJNAME=$@