bin2txt/makefile uses old 3rd-party libs paths #504

This commit is contained in:
BADIM-PC\Vadim 2018-01-11 11:42:31 +03:00
parent c33e345eac
commit 8b02b29a84
1 changed files with 7 additions and 8 deletions

View File

@ -1,18 +1,17 @@
OPT=-O3 -Wall -std=c99
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
all: windows
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)
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/linux32 $(LIB) -o bin2txt
linux64: $(SRC)
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/linux $(LIB) -o bin2txt
linux: $(SRC)
gcc $(OPT) $(SRC) $(INCLUDE) $(LIB) -o bin2txt
macosx: $(SRC)
gcc $(OPT) $(SRC) $(INCLUDE) -L../../lib/macos $(LIB) -o bin2txt
gcc $(OPT) $(SRC) $(INCLUDE) $(LIB) -o bin2txt