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/Demo/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/Demo/Makefile')
-rw-r--r-- | libraries/irrlicht-1.8/examples/Demo/Makefile | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/libraries/irrlicht-1.8/examples/Demo/Makefile b/libraries/irrlicht-1.8/examples/Demo/Makefile index 1577ac9..5a45876 100644 --- a/libraries/irrlicht-1.8/examples/Demo/Makefile +++ b/libraries/irrlicht-1.8/examples/Demo/Makefile | |||
@@ -1,43 +1,43 @@ | |||
1 | # Irrlicht Engine Demo Makefile | 1 | # Irrlicht Engine Demo Makefile |
2 | Target = Demo | 2 | Target = Demo |
3 | Sources = CDemo.cpp CMainMenu.cpp main.cpp | 3 | Sources = CDemo.cpp CMainMenu.cpp main.cpp |
4 | 4 | ||
5 | CPPFLAGS = -I../../include -I/usr/X11R6/include | 5 | CPPFLAGS = -I../../include -I/usr/X11R6/include |
6 | CXXFLAGS = -Wall -O3 -ffast-math | 6 | CXXFLAGS = -Wall -O3 -ffast-math |
7 | 7 | ||
8 | ifeq ($(HOSTTYPE), x86_64) | 8 | ifeq ($(HOSTTYPE), x86_64) |
9 | LIBSELECT=64 | 9 | LIBSELECT=64 |
10 | endif | 10 | endif |
11 | 11 | ||
12 | all: all_linux | 12 | all: all_linux |
13 | 13 | ||
14 | # target specific settings | 14 | # target specific settings |
15 | all_linux: SYSTEM=Linux | 15 | all_linux: SYSTEM=Linux |
16 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/$(SYSTEM) -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor | 16 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/$(SYSTEM) -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor |
17 | 17 | ||
18 | all_win32 clean_win32: SYSTEM=Win32-gcc | 18 | all_win32 clean_win32: SYSTEM=Win32-gcc |
19 | all_win32: LDFLAGS = -L../../lib/$(SYSTEM) -lIrrlicht -lopengl32 -lm | 19 | all_win32: LDFLAGS = -L../../lib/$(SYSTEM) -lIrrlicht -lopengl32 -lm |
20 | 20 | ||
21 | # if you enable sound add the proper library for linking | 21 | # if you enable sound add the proper library for linking |
22 | #LDFLAGS += -lIrrKlang | 22 | #LDFLAGS += -lIrrKlang |
23 | #LDFLAGS += -laudiere | 23 | #LDFLAGS += -laudiere |
24 | #LDFLAGS += -lSDL_mixer -lSDL | 24 | #LDFLAGS += -lSDL_mixer -lSDL |
25 | 25 | ||
26 | all_win32 clean_win32: SUF=.exe | 26 | all_win32 clean_win32: SUF=.exe |
27 | # name of the binary - only valid for targets which set SYSTEM | 27 | # name of the binary - only valid for targets which set SYSTEM |
28 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) | 28 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) |
29 | 29 | ||
30 | OBJ = $(Sources:.cpp=.o) | 30 | OBJ = $(Sources:.cpp=.o) |
31 | 31 | ||
32 | all_linux all_win32: $(OBJ) | 32 | all_linux all_win32: $(OBJ) |
33 | $(warning Building...) | 33 | $(warning Building...) |
34 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $^ -o $(DESTPATH) $(LDFLAGS) | 34 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $^ -o $(DESTPATH) $(LDFLAGS) |
35 | 35 | ||
36 | clean: clean_linux clean_win32 | 36 | clean: clean_linux clean_win32 |
37 | $(warning Cleaning...) | 37 | $(warning Cleaning...) |
38 | @$(RM) $(OBJ) | 38 | @$(RM) $(OBJ) |
39 | 39 | ||
40 | clean_linux clean_win32: | 40 | clean_linux clean_win32: |
41 | @$(RM) $(DESTPATH) | 41 | @$(RM) $(DESTPATH) |
42 | 42 | ||
43 | .PHONY: all all_win32 clean clean_linux clean_win32 | 43 | .PHONY: all all_win32 clean clean_linux clean_win32 |