From f9d8fbf10ac3bba024e10daa38e75cf0c593d04c Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Sun, 28 Feb 2016 00:26:37 +0300 Subject: [PATCH] Added new non CodeLite Makefile --- Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c1fa320..721d519 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ -.PHONY: clean All - -All: - @echo "----------Building project:[ wxCrossGen - Release ]----------" - @cd "wxCrossGen" && $(MAKE) -f "wxCrossGen.mk" -clean: - @echo "----------Cleaning project:[ wxCrossGen - Release ]----------" - @cd "wxCrossGen" && $(MAKE) -f "wxCrossGen.mk" clean +all: + mkdir -p Build + g++ -c src/crossexport.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/crossexport.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -c src/crossgen.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/crossgen.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -c wxCrossGen/fmain.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fmain.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -c wxCrossGen/fsettings.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fsettings.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -c wxCrossGen/fsettings.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fsettings.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -c wxCrossGen/main.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/main.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -c wxCrossGen/fbgui/fbgui.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fbgui.cpp.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen + g++ -o ./Build/CrossGen ./Build/crossexport.cpp.o ./Build/crossgen.cpp.o ./Build/fbgui.cpp.cpp.o ./Build/fmain.cpp.o ./Build/fsettings.cpp.o ./Build/main.cpp.o -L. $(shell wx-config --debug=no --unicode=yes --libs all) \ No newline at end of file