Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #8524 from shuffle2/update-externals
Update externals
- Loading branch information
Showing
38 changed files
with
8,409 additions
and
2,698 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| # | ||
| # a very simple Makefile for miniLZO | ||
| # | ||
| # Copyright (C) 1996-2017 Markus F.X.J. Oberhumer | ||
| # | ||
|
|
||
| PROGRAM = testmini | ||
| SOURCES = testmini.c minilzo.c | ||
|
|
||
| default: | ||
| @echo "" | ||
| @echo "Welcome to miniLZO. Please choose one of the following 'make' targets:" | ||
| @echo "" | ||
| @echo " gcc: gcc" | ||
| @echo " unix: hpux hpux9" | ||
| @echo " win32: win32-bc win32-cygwin win32-dm win32-lccwin32" | ||
| @echo " win32-intelc win32-mingw win32-vc win32-watcomc" | ||
| @echo " dos32: dos32-djgpp2 dos32-wc" | ||
| @echo "" | ||
|
|
||
|
|
||
| # Make sure that minilzo.h, lzoconf.h and lzodefs.h are in the | ||
| # current dircectory. Otherwise you may want to adjust CPPFLAGS. | ||
| CPPFLAGS = -I. -I../include/lzo | ||
|
|
||
| GCC_CFLAGS = -s -Wall -O2 -fomit-frame-pointer | ||
|
|
||
|
|
||
| # | ||
| # gcc (generic) | ||
| # | ||
|
|
||
| gcc: | ||
| gcc $(CPPFLAGS) $(GCC_CFLAGS) -o $(PROGRAM) $(SOURCES) | ||
|
|
||
| cc: | ||
| cc $(CPPFLAGS) -o $(PROGRAM) $(SOURCES) | ||
|
|
||
|
|
||
| # | ||
| # UNIX | ||
| # | ||
|
|
||
| hpux: | ||
| cc -Ae $(CPPFLAGS) -o $(PROGRAM) $(SOURCES) | ||
|
|
||
| hpux9: | ||
| cc -Aa -D_HPUX_SOURCE $(CPPFLAGS) -o $(PROGRAM) $(SOURCES) | ||
|
|
||
|
|
||
| # | ||
| # Windows (32-bit) | ||
| # | ||
|
|
||
| win32-borlandc win32-bc: | ||
| bcc32 -O2 -d -w -w-aus $(CPPFLAGS) $(SOURCES) | ||
|
|
||
| win32-cygwin32 win32-cygwin: | ||
| gcc -mcygwin $(CPPFLAGS) $(GCC_CFLAGS) -o $(PROGRAM).exe $(SOURCES) | ||
|
|
||
| win32-digitalmars win32-dm: | ||
| dmc -mn -o -w- $(CPPFLAGS) $(SOURCES) | ||
|
|
||
| win32-intelc win32-ic: | ||
| icl -nologo -MT -W3 -O2 -GF $(CPPFLAGS) $(SOURCES) | ||
|
|
||
| win32-lccwin32: | ||
| @echo "NOTE: need lcc 2002-07-25 or newer, older versions have bugs" | ||
| lc -A -unused -O $(CPPFLAGS) $(SOURCES) | ||
|
|
||
| win32-mingw32 win32-mingw: | ||
| gcc -mno-cygwin $(CPPFLAGS) $(GCC_CFLAGS) -o $(PROGRAM).exe $(SOURCES) | ||
|
|
||
| win32-visualc win32-vc: | ||
| cl -nologo -MT -W3 -O2 -GF $(CPPFLAGS) $(SOURCES) | ||
|
|
||
| win32-watcomc win32-wc: | ||
| wcl386 -bt=nt -zq -mf -5r -zc -w5 -oneatx $(CPPFLAGS) $(SOURCES) | ||
|
|
||
|
|
||
| # | ||
| # DOS (32-bit) | ||
| # | ||
|
|
||
| dos32-djgpp2 dos32-dj2: | ||
| gcc $(CPPFLAGS) $(GCC_CFLAGS) -o $(PROGRAM).exe $(SOURCES) | ||
|
|
||
| dos32-watcomc dos32-wc: | ||
| wcl386 -zq -mf -bt=dos -l=dos4g -5r -ox -zc $(CPPFLAGS) $(SOURCES) | ||
|
|
||
|
|
||
| # | ||
| # other targets | ||
| # | ||
|
|
||
| clean: | ||
| rm -f $(PROGRAM) $(PROGRAM).exe $(PROGRAM).map $(PROGRAM).tds | ||
| rm -f *.err *.o *.obj | ||
|
|
||
| .PHONY: default clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.