aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8.1/tools/GUIEditor/Makefile
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 19:47:58 +1000
committerDavid Walter Seikel2014-01-13 19:47:58 +1000
commitf9158592e1478b2013afc7041d9ed041cf2d2f4a (patch)
treeb16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/tools/GUIEditor/Makefile
parentLibraries readme updated with change markers and more of the Irrlicht changes. (diff)
downloadSledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8.1/tools/GUIEditor/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/tools/GUIEditor/Makefile b/libraries/irrlicht-1.8.1/tools/GUIEditor/Makefile
new file mode 100644
index 0000000..02f8189
--- /dev/null
+++ b/libraries/irrlicht-1.8.1/tools/GUIEditor/Makefile
@@ -0,0 +1,43 @@
1# Irrlicht Engine GUIEditor Makefile
2Target = GUIEditor
3Sources = CGUIAttributeEditor.cpp CGUIEditFactory.cpp CGUIEditWindow.cpp CGUIEditWorkspace.cpp CGUIPanel.cpp CGUITextureCacheBrowser.cpp CMemoryReadWriteFile.cpp main.cpp
4
5CPPFLAGS = -I../../include -I/usr/X11R6/include
6CXXFLAGS = -Wall -O3 -ffast-math
7
8ifeq ($(HOSTTYPE), x86_64)
9LIBSELECT=64
10endif
11
12all: all_linux
13
14# target specific settings
15all_linux: SYSTEM=Linux
16all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/$(SYSTEM) -lIrrlicht -lGL -lXxf86vm -lXext -lX11
17
18all_win32 clean_win32: SYSTEM=Win32-gcc
19all_win32: LDFLAGS = -L../../lib/$(SYSTEM) -lIrrlicht -lopengl32 -lm
20
21# if you enable sound add the proper library for linking
22#LDFLAGS += -lIrrKlang
23#LDFLAGS += -laudiere
24#LDFLAGS += -lSDL_mixer -lSDL
25
26all_win32 clean_win32: SUF=.exe
27# name of the binary - only valid for targets which set SYSTEM
28DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF)
29
30OBJ = $(Sources:.cpp=.o)
31
32all_linux all_win32: $(OBJ)
33 $(warning Building...)
34 $(CXX) $(CPPFLAGS) $(CXXFLAGS) $^ -o $(DESTPATH) $(LDFLAGS)
35
36clean: clean_linux clean_win32
37 $(warning Cleaning...)
38 @$(RM) $(OBJ)
39
40clean_linux clean_win32:
41 @$(RM) $(DESTPATH)
42
43.PHONY: all all_win32 clean clean_linux clean_win32