# Project: ZenLib_Test

CPP  = g++
OBJ  = ../../../Source/Files/ZenLib_Test.o $(RES)
LINKOBJ  = ../../../Source/Files/ZenLib_Test.o $(RES)
LIBS =  -L"lib" ../../../Release/GCC/Library/ZenLib.a ../../../../Shared/Library/GCC/WxBase.a /lib/libpthread.so.0
CXXINCS =  -I"../../../Source" -I"../../../../Shared/Include"
CXXFLAGS = $(CXXINCS) -DUNICODE -D_UNICODE -fexpensive-optimizations -O3 -march=i486 
BIN  = ZenLib_Test.exe
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before ZenLib_Test.exe all-after


clean: clean-custom
	${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
	$(CPP) $(LINKOBJ) -o "ZenLib_Test.exe" $(LIBS)

../../../Source/Files/ZenLib_Test.o: ../../../Source/Example/ZenLib_Test.cpp
	$(CPP) -c ../../../Source/Example/ZenLib_Test.cpp -o ../../../Source/Example/ZenLib_Test.o $(CXXFLAGS)
