source: win32-devcpp/Makefile.win @ 1

Revision 1, 8.5 KB checked in by art, 13 years ago (diff)
Line 
1# Project: nrEngine
2# Makefile created by Dev-C++ 4.9.9.2
3
4CPP  = g++.exe
5CC   = gcc.exe
6WINDRES = windres.exe
7RES  = nrEngine_private.res
8OBJ  = ../nrEngine/src/Clock.o ../nrEngine/src/Engine.o ../nrEngine/src/Event.o ../nrEngine/src/EventActor.o ../nrEngine/src/EventChannel.o ../nrEngine/src/EventFactory.o ../nrEngine/src/EventManager.o ../nrEngine/src/Exception.o ../nrEngine/src/FileStream.o ../nrEngine/src/FileStreamLoader.o ../nrEngine/src/IFileSystem.o ../nrEngine/src/IScript.o ../nrEngine/src/IStream.o ../nrEngine/src/ITask.o ../nrEngine/src/Kernel.o ../nrEngine/src/Log.o ../nrEngine/src/ScriptConnector.o ../nrEngine/src/GetTime.o ../nrEngine/src/IThread.o ../nrEngine/src/Plugin.o ../nrEngine/src/PluginLoader.o ../nrEngine/src/Profiler.o ../nrEngine/src/Property.o ../nrEngine/src/Resource.o ../nrEngine/src/ResourceHolder.o ../nrEngine/src/ResourceLoader.o ../nrEngine/src/ResourceManager.o ../nrEngine/src/ResourcePtr.o ../nrEngine/src/Script.o ../nrEngine/src/ScriptEngine.o ../nrEngine/src/ScriptLoader.o ../nrEngine/src/StdHelpers.o ../nrEngine/src/Timer.o ../nrEngine/src/TimeSource.o ../nrEngine/src/events/KernelEvent.o ../nrEngine/src/VariadicArgument.o $(RES)
9LINKOBJ  = ../nrEngine/src/Clock.o ../nrEngine/src/Engine.o ../nrEngine/src/Event.o ../nrEngine/src/EventActor.o ../nrEngine/src/EventChannel.o ../nrEngine/src/EventFactory.o ../nrEngine/src/EventManager.o ../nrEngine/src/Exception.o ../nrEngine/src/FileStream.o ../nrEngine/src/FileStreamLoader.o ../nrEngine/src/IFileSystem.o ../nrEngine/src/IScript.o ../nrEngine/src/IStream.o ../nrEngine/src/ITask.o ../nrEngine/src/Kernel.o ../nrEngine/src/Log.o ../nrEngine/src/ScriptConnector.o ../nrEngine/src/GetTime.o ../nrEngine/src/IThread.o ../nrEngine/src/Plugin.o ../nrEngine/src/PluginLoader.o ../nrEngine/src/Profiler.o ../nrEngine/src/Property.o ../nrEngine/src/Resource.o ../nrEngine/src/ResourceHolder.o ../nrEngine/src/ResourceLoader.o ../nrEngine/src/ResourceManager.o ../nrEngine/src/ResourcePtr.o ../nrEngine/src/Script.o ../nrEngine/src/ScriptEngine.o ../nrEngine/src/ScriptLoader.o ../nrEngine/src/StdHelpers.o ../nrEngine/src/Timer.o ../nrEngine/src/TimeSource.o ../nrEngine/src/events/KernelEvent.o ../nrEngine/src/VariadicArgument.o $(RES)
10LIBS =  -L"C:/Dev-Cpp/lib" C:/Boost/lib/libboost_thread-mgw-mt-s.lib ../Bindings/glfw/win32-devcpp/glfwBinding.a ../Bindings/glfw/lib/libglfw.a  -mwindows
11INCS =  -I"C:/Dev-Cpp/include"  -I"D:/nrEngine/nrEngine/include"  -I"D:/boost_tiny"
12CXXINCS =  -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"D:/nrEngine/nrEngine/include"  -I"D:/boost_tiny"
13BIN  = nrEngine.dll
14CXXFLAGS = $(CXXINCS) -DBUILD_DLL   -O3 -mwindows
15CFLAGS = $(INCS) -DBUILD_DLL   -O3 -mwindows
16RM = rm -f
17
18.PHONY: all all-before all-after clean clean-custom
19
20all: all-before nrEngine.dll all-after
21
22
23clean: clean-custom
24        ${RM} $(OBJ) $(BIN)
25
26DLLWRAP=dllwrap.exe
27DEFFILE=libnrEngine.def
28STATICLIB=libnrEngine.a
29
30$(BIN): $(LINKOBJ)
31        $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN)
32
33../nrEngine/src/Clock.o: ../nrEngine/src/Clock.cpp
34        $(CPP) -c ../nrEngine/src/Clock.cpp -o ../nrEngine/src/Clock.o $(CXXFLAGS)
35
36../nrEngine/src/Engine.o: ../nrEngine/src/Engine.cpp
37        $(CPP) -c ../nrEngine/src/Engine.cpp -o ../nrEngine/src/Engine.o $(CXXFLAGS)
38
39../nrEngine/src/Event.o: ../nrEngine/src/Event.cpp
40        $(CPP) -c ../nrEngine/src/Event.cpp -o ../nrEngine/src/Event.o $(CXXFLAGS)
41
42../nrEngine/src/EventActor.o: ../nrEngine/src/EventActor.cpp
43        $(CPP) -c ../nrEngine/src/EventActor.cpp -o ../nrEngine/src/EventActor.o $(CXXFLAGS)
44
45../nrEngine/src/EventChannel.o: ../nrEngine/src/EventChannel.cpp
46        $(CPP) -c ../nrEngine/src/EventChannel.cpp -o ../nrEngine/src/EventChannel.o $(CXXFLAGS)
47
48../nrEngine/src/EventFactory.o: ../nrEngine/src/EventFactory.cpp
49        $(CPP) -c ../nrEngine/src/EventFactory.cpp -o ../nrEngine/src/EventFactory.o $(CXXFLAGS)
50
51../nrEngine/src/EventManager.o: ../nrEngine/src/EventManager.cpp
52        $(CPP) -c ../nrEngine/src/EventManager.cpp -o ../nrEngine/src/EventManager.o $(CXXFLAGS)
53
54../nrEngine/src/Exception.o: ../nrEngine/src/Exception.cpp
55        $(CPP) -c ../nrEngine/src/Exception.cpp -o ../nrEngine/src/Exception.o $(CXXFLAGS)
56
57../nrEngine/src/FileStream.o: ../nrEngine/src/FileStream.cpp
58        $(CPP) -c ../nrEngine/src/FileStream.cpp -o ../nrEngine/src/FileStream.o $(CXXFLAGS)
59
60../nrEngine/src/FileStreamLoader.o: ../nrEngine/src/FileStreamLoader.cpp
61        $(CPP) -c ../nrEngine/src/FileStreamLoader.cpp -o ../nrEngine/src/FileStreamLoader.o $(CXXFLAGS)
62
63../nrEngine/src/IFileSystem.o: ../nrEngine/src/IFileSystem.cpp
64        $(CPP) -c ../nrEngine/src/IFileSystem.cpp -o ../nrEngine/src/IFileSystem.o $(CXXFLAGS)
65
66../nrEngine/src/IScript.o: ../nrEngine/src/IScript.cpp
67        $(CPP) -c ../nrEngine/src/IScript.cpp -o ../nrEngine/src/IScript.o $(CXXFLAGS)
68
69../nrEngine/src/IStream.o: ../nrEngine/src/IStream.cpp
70        $(CPP) -c ../nrEngine/src/IStream.cpp -o ../nrEngine/src/IStream.o $(CXXFLAGS)
71
72../nrEngine/src/ITask.o: ../nrEngine/src/ITask.cpp
73        $(CPP) -c ../nrEngine/src/ITask.cpp -o ../nrEngine/src/ITask.o $(CXXFLAGS)
74
75../nrEngine/src/Kernel.o: ../nrEngine/src/Kernel.cpp
76        $(CPP) -c ../nrEngine/src/Kernel.cpp -o ../nrEngine/src/Kernel.o $(CXXFLAGS)
77
78../nrEngine/src/Log.o: ../nrEngine/src/Log.cpp
79        $(CPP) -c ../nrEngine/src/Log.cpp -o ../nrEngine/src/Log.o $(CXXFLAGS)
80
81../nrEngine/src/ScriptConnector.o: ../nrEngine/src/ScriptConnector.cpp
82        $(CPP) -c ../nrEngine/src/ScriptConnector.cpp -o ../nrEngine/src/ScriptConnector.o $(CXXFLAGS)
83
84../nrEngine/src/GetTime.o: ../nrEngine/src/GetTime.cpp
85        $(CPP) -c ../nrEngine/src/GetTime.cpp -o ../nrEngine/src/GetTime.o $(CXXFLAGS)
86
87../nrEngine/src/IThread.o: ../nrEngine/src/IThread.cpp
88        $(CPP) -c ../nrEngine/src/IThread.cpp -o ../nrEngine/src/IThread.o $(CXXFLAGS)
89
90../nrEngine/src/Plugin.o: ../nrEngine/src/Plugin.cpp
91        $(CPP) -c ../nrEngine/src/Plugin.cpp -o ../nrEngine/src/Plugin.o $(CXXFLAGS)
92
93../nrEngine/src/PluginLoader.o: ../nrEngine/src/PluginLoader.cpp
94        $(CPP) -c ../nrEngine/src/PluginLoader.cpp -o ../nrEngine/src/PluginLoader.o $(CXXFLAGS)
95
96../nrEngine/src/Profiler.o: ../nrEngine/src/Profiler.cpp
97        $(CPP) -c ../nrEngine/src/Profiler.cpp -o ../nrEngine/src/Profiler.o $(CXXFLAGS)
98
99../nrEngine/src/Property.o: ../nrEngine/src/Property.cpp
100        $(CPP) -c ../nrEngine/src/Property.cpp -o ../nrEngine/src/Property.o $(CXXFLAGS)
101
102../nrEngine/src/Resource.o: ../nrEngine/src/Resource.cpp
103        $(CPP) -c ../nrEngine/src/Resource.cpp -o ../nrEngine/src/Resource.o $(CXXFLAGS)
104
105../nrEngine/src/ResourceHolder.o: ../nrEngine/src/ResourceHolder.cpp
106        $(CPP) -c ../nrEngine/src/ResourceHolder.cpp -o ../nrEngine/src/ResourceHolder.o $(CXXFLAGS)
107
108../nrEngine/src/ResourceLoader.o: ../nrEngine/src/ResourceLoader.cpp
109        $(CPP) -c ../nrEngine/src/ResourceLoader.cpp -o ../nrEngine/src/ResourceLoader.o $(CXXFLAGS)
110
111../nrEngine/src/ResourceManager.o: ../nrEngine/src/ResourceManager.cpp
112        $(CPP) -c ../nrEngine/src/ResourceManager.cpp -o ../nrEngine/src/ResourceManager.o $(CXXFLAGS)
113
114../nrEngine/src/ResourcePtr.o: ../nrEngine/src/ResourcePtr.cpp
115        $(CPP) -c ../nrEngine/src/ResourcePtr.cpp -o ../nrEngine/src/ResourcePtr.o $(CXXFLAGS)
116
117../nrEngine/src/Script.o: ../nrEngine/src/Script.cpp
118        $(CPP) -c ../nrEngine/src/Script.cpp -o ../nrEngine/src/Script.o $(CXXFLAGS)
119
120../nrEngine/src/ScriptEngine.o: ../nrEngine/src/ScriptEngine.cpp
121        $(CPP) -c ../nrEngine/src/ScriptEngine.cpp -o ../nrEngine/src/ScriptEngine.o $(CXXFLAGS)
122
123../nrEngine/src/ScriptLoader.o: ../nrEngine/src/ScriptLoader.cpp
124        $(CPP) -c ../nrEngine/src/ScriptLoader.cpp -o ../nrEngine/src/ScriptLoader.o $(CXXFLAGS)
125
126../nrEngine/src/StdHelpers.o: ../nrEngine/src/StdHelpers.cpp
127        $(CPP) -c ../nrEngine/src/StdHelpers.cpp -o ../nrEngine/src/StdHelpers.o $(CXXFLAGS)
128
129../nrEngine/src/Timer.o: ../nrEngine/src/Timer.cpp
130        $(CPP) -c ../nrEngine/src/Timer.cpp -o ../nrEngine/src/Timer.o $(CXXFLAGS)
131
132../nrEngine/src/TimeSource.o: ../nrEngine/src/TimeSource.cpp
133        $(CPP) -c ../nrEngine/src/TimeSource.cpp -o ../nrEngine/src/TimeSource.o $(CXXFLAGS)
134
135../nrEngine/src/events/KernelEvent.o: ../nrEngine/src/events/KernelEvent.cpp
136        $(CPP) -c ../nrEngine/src/events/KernelEvent.cpp -o ../nrEngine/src/events/KernelEvent.o $(CXXFLAGS)
137
138../nrEngine/src/VariadicArgument.o: ../nrEngine/src/VariadicArgument.cpp
139        $(CPP) -c ../nrEngine/src/VariadicArgument.cpp -o ../nrEngine/src/VariadicArgument.o $(CXXFLAGS)
140
141nrEngine_private.res: nrEngine_private.rc
142        $(WINDRES) -i nrEngine_private.rc --input-format=rc -o nrEngine_private.res -O coff
Note: See TracBrowser for help on using the repository browser.