bin2txt/makefile uses old 3rd-party libs paths #504
This commit is contained in:
parent
c33e345eac
commit
8b02b29a84
|
@ -1,18 +1,17 @@
|
||||||
OPT=-O3 -Wall -std=c99
|
OPT=-O3 -Wall -std=c99
|
||||||
SRC=bin2txt.c
|
SRC=bin2txt.c
|
||||||
INCLUDE=-I../../include/zlib
|
3RD_PARTY = ../../../3rd-party
|
||||||
|
INCLUDE=-I$(3RD_PARTY)/zlib-1.2.8
|
||||||
|
PRE_BUILT = $(3RD_PARTY)/pre-built
|
||||||
LIB=-lz
|
LIB=-lz
|
||||||
|
|
||||||
all: windows
|
all: windows
|
||||||
|
|
||||||
windows: $(SRC)
|
windows: $(SRC)
|
||||||
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/mingw $(LIB) -o bin2txt.exe
|
gcc $(OPT) $(SRC) $(INCLUDE) -L$(PRE_BUILT)/mingw $(LIB) -o bin2txt.exe
|
||||||
|
|
||||||
linux32: $(SRC)
|
linux: $(SRC)
|
||||||
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/linux32 $(LIB) -o bin2txt
|
gcc $(OPT) $(SRC) $(INCLUDE) $(LIB) -o bin2txt
|
||||||
|
|
||||||
linux64: $(SRC)
|
|
||||||
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/linux $(LIB) -o bin2txt
|
|
||||||
|
|
||||||
macosx: $(SRC)
|
macosx: $(SRC)
|
||||||
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/macos $(LIB) -o bin2txt
|
gcc $(OPT) $(SRC) $(INCLUDE) $(LIB) -o bin2txt
|
||||||
|
|
Loading…
Reference in New Issue