diff options
author | rubidium <rubidium@openttd.org> | 2009-08-18 17:49:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-18 17:49:28 +0000 |
commit | 82105604c3d76fda3df94c5f6b556da00a5fb557 (patch) | |
tree | 8097e3589ac2f37e522557b9a545ee6a4a7ac6a3 /src/3rdparty/minilzo/Makefile | |
parent | f595668650b342c5d7150fcbb1986b572a7f37e7 (diff) | |
download | openttd-82105604c3d76fda3df94c5f6b556da00a5fb557.tar.xz |
(svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there
Diffstat (limited to 'src/3rdparty/minilzo/Makefile')
-rw-r--r-- | src/3rdparty/minilzo/Makefile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/3rdparty/minilzo/Makefile b/src/3rdparty/minilzo/Makefile new file mode 100644 index 000000000..92eba72ea --- /dev/null +++ b/src/3rdparty/minilzo/Makefile @@ -0,0 +1,58 @@ +# +# a very simple Makefile for miniLZO +# +# Copyright (C) 1996-2002 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 hpux9" + + +# +# gcc +# +gcc: + gcc -Wall -O2 -s -o testmini $(SOURCES) + +gcc-i386: + gcc -Wall -O2 -fomit-frame-pointer -fno-strength-reduce -s -o testmini $(SOURCES) + +gcc-rs6000: + gcc -Wall -O2 -fno-schedule-insns -fno-schedule-insns2 -o testmini $(SOURCES) + + +# +# Windows +# +visualc: + cl -nologo -ML -W3 -O2 -GF $(SOURCES) + +watcomc: + wcl386 -zq -mf -5r -zc -wx -oneatx $(SOURCES) + +watcomc16: + wcl -zq -ml -5 -zc -wx -oneatx $(SOURCES) + + +# +# UNIX +# + +hpux: + cc -Ae -o testmini $(SOURCES) + +hpux9: + cc -Aa -D_HPUX_SOURCE -o testmini $(SOURCES) + + +# +# other targets +# +clean: + rm -f testmini testmini.exe *.err *.o *.obj core + |