diff options
author | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
commit | 959831f4ef5a3e797f576c3de08cd65032c997ad (patch) | |
tree | e7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/examples/04.Movement/Makefile | |
parent | Add info about changes to Irrlicht. (diff) | |
download | SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2 SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz |
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/examples/04.Movement/Makefile')
-rw-r--r-- | libraries/irrlicht-1.8/examples/04.Movement/Makefile | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/libraries/irrlicht-1.8/examples/04.Movement/Makefile b/libraries/irrlicht-1.8/examples/04.Movement/Makefile index 0dcd252..1b07245 100644 --- a/libraries/irrlicht-1.8/examples/04.Movement/Makefile +++ b/libraries/irrlicht-1.8/examples/04.Movement/Makefile | |||
@@ -1,39 +1,39 @@ | |||
1 | # Makefile for Irrlicht Examples | 1 | # Makefile for Irrlicht Examples |
2 | # It's usually sufficient to change just the target name and source file list | 2 | # It's usually sufficient to change just the target name and source file list |
3 | # and be sure that CXX is set to a valid compiler | 3 | # and be sure that CXX is set to a valid compiler |
4 | Target = 04.Movement | 4 | Target = 04.Movement |
5 | Sources = main.cpp | 5 | Sources = main.cpp |
6 | 6 | ||
7 | # general compiler settings | 7 | # general compiler settings |
8 | CPPFLAGS = -I../../include -I/usr/X11R6/include | 8 | CPPFLAGS = -I../../include -I/usr/X11R6/include |
9 | CXXFLAGS = -O3 -ffast-math | 9 | CXXFLAGS = -O3 -ffast-math |
10 | #CXXFLAGS = -g -Wall | 10 | #CXXFLAGS = -g -Wall |
11 | 11 | ||
12 | #default target is Linux | 12 | #default target is Linux |
13 | all: all_linux | 13 | all: all_linux |
14 | 14 | ||
15 | ifeq ($(HOSTTYPE), x86_64) | 15 | ifeq ($(HOSTTYPE), x86_64) |
16 | LIBSELECT=64 | 16 | LIBSELECT=64 |
17 | endif | 17 | endif |
18 | 18 | ||
19 | # target specific settings | 19 | # target specific settings |
20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor | 20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor |
21 | all_linux clean_linux: SYSTEM=Linux | 21 | all_linux clean_linux: SYSTEM=Linux |
22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm | 22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm |
23 | all_win32: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL | 23 | all_win32: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL |
24 | all_win32 clean_win32: SYSTEM=Win32-gcc | 24 | all_win32 clean_win32: SYSTEM=Win32-gcc |
25 | all_win32 clean_win32: SUF=.exe | 25 | all_win32 clean_win32: SUF=.exe |
26 | # name of the binary - only valid for targets which set SYSTEM | 26 | # name of the binary - only valid for targets which set SYSTEM |
27 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) | 27 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) |
28 | 28 | ||
29 | all_linux all_win32: | 29 | all_linux all_win32: |
30 | $(warning Building...) | 30 | $(warning Building...) |
31 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) | 31 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) |
32 | 32 | ||
33 | clean: clean_linux clean_win32 | 33 | clean: clean_linux clean_win32 |
34 | $(warning Cleaning...) | 34 | $(warning Cleaning...) |
35 | 35 | ||
36 | clean_linux clean_win32: | 36 | clean_linux clean_win32: |
37 | @$(RM) $(DESTPATH) | 37 | @$(RM) $(DESTPATH) |
38 | 38 | ||
39 | .PHONY: all all_win32 clean clean_linux clean_win32 | 39 | .PHONY: all all_win32 clean clean_linux clean_win32 |