bin2txt/makefile uses old 3rd-party libs paths
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
