summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..3e8c3bbc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,44 @@
+CPPFLAGS=-Wall -pipe -DNDEBUG `wx-config --cppflags` -DFFS_LINUX -O3 -pthread -c
+ENDFLAGS=`wx-config --libs` -lwx_gtk2_aui-2.8 -O3 -pthread
+
+all: FreeFileSync
+
+obj/FreeFileSync.o: FreeFileSync.cpp
+ g++ $(CPPFLAGS) FreeFileSync.cpp -o obj/FreeFileSync.o
+
+obj/application.o: application.cpp
+ g++ $(CPPFLAGS) application.cpp -o obj/application.o
+
+obj/globalFunctions.o: library/globalFunctions.cpp
+ g++ $(CPPFLAGS) library/globalFunctions.cpp -o obj/globalFunctions.o
+
+obj/guiGenerated.o: ui/guiGenerated.cpp
+ g++ $(CPPFLAGS) ui/guiGenerated.cpp -o obj/guiGenerated.o
+
+obj/mainDialog.o: ui/mainDialog.cpp
+ g++ $(CPPFLAGS) ui/mainDialog.cpp -o obj/mainDialog.o
+
+obj/syncDialog.o: ui/syncDialog.cpp
+ g++ $(CPPFLAGS) ui/syncDialog.cpp -o obj/syncDialog.o
+
+obj/customGrid.o: library/customGrid.cpp
+ g++ $(CPPFLAGS) library/customGrid.cpp -o obj/customGrid.o
+
+obj/multithreading.o: library/multithreading.cpp
+ g++ $(CPPFLAGS) library/multithreading.cpp -o obj/multithreading.o
+
+obj/resources.o: library/resources.cpp
+ g++ $(CPPFLAGS) library/resources.cpp -o obj/resources.o
+
+obj/smallDialogs.o: ui/smallDialogs.cpp
+ g++ $(CPPFLAGS) ui/smallDialogs.cpp -o obj/smallDialogs.o
+
+obj/misc.o: library/misc.cpp
+ g++ $(CPPFLAGS) library/misc.cpp -o obj/misc.o
+
+FreeFileSync: obj/FreeFileSync.o obj/application.o obj/globalFunctions.o obj/guiGenerated.o obj/mainDialog.o obj/syncDialog.o obj/customGrid.o obj/resources.o obj/smallDialogs.o obj/multithreading.o obj/misc.o
+ g++ $(ENDFLAGS) -o FreeFileSync obj/application.o obj/FreeFileSync.o obj/globalFunctions.o obj/guiGenerated.o obj/mainDialog.o obj/syncDialog.o obj/customGrid.o obj/resources.o obj/smallDialogs.o obj/multithreading.o obj/misc.o
+
+
+clean:
+ find obj -type f -exec rm {} \;
bgstack15