home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lzo100.zip
/
lzo-1.00
/
minilzo
/
Makefile.mfx
< prev
next >
Wrap
Makefile
|
1997-07-13
|
884b
|
55 lines
#
# a very simple Makefile for miniLZO
#
# Copyright (C) 1996, 1997 Markus F.X.J. Oberhumer
#
SOURCES = testmini.c minilzo.c
default all:
@echo "Please choose one of the following targets:"
@echo " gcc gcc-i386 gcc-rs6000"
@echo " visualc watcomc watcomc16"
@echo " hpux"
#
# gcc
#
gcc:
gcc -I. -Wall -O2 -s -o testmini $(SOURCES)
gcc-i386:
gcc -I. -Wall -O2 -fomit-frame-pointer -fno-strength-reduce -s -o testmini $(SOURCES)
gcc-rs6000:
gcc -I. -Wall -O2 -fno-schedule-insns -fno-schedule-insns2 -o testmini $(SOURCES)
#
# Windows
#
visualc:
cl -nologo -ML -I. -W3 -Ox -Gf -Gy $(SOURCES)
watcomc:
wcl386 -zq -mf -5r -I. -zc -wx -oneatx $(SOURCES)
watcomc16:
wcl -zq -ml -5 -I. -zc -wx -oneatx $(SOURCES)
#
# UNIX
#
hpux:
cc -Aa -D_HPUX_SOURCE -I. -o testmini $(SOURCES)
#
# other targets
#
clean:
rm -f testmini testmini.exe *.err *.o *.obj core