Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
openjazz
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
openjazz
Commits
943294c8
Commit
943294c8
authored
Feb 18, 2010
by
alistert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated makefiles.
parent
9b756efc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
80 deletions
+34
-80
Makefile
Makefile
+15
-39
Makefile.debian
Makefile.debian
+17
-40
Makefile.wiz
Makefile.wiz
+2
-1
No files found.
Makefile
View file @
943294c8
# OpenJazz makefile
# OpenJazz makefile
objects
=
bird.o bonus.o bullet.o events.o file.o font.o game.o level.o
\
objects
=
src/bonus/bonus.o
\
levelload.o main.o menu.o network.o palette.o planet.o player.o scene.o
\
src/game/clientgame.o src/game/game.o src/game/gamemode.o
\
sound.o sprite.o util.o
src/game/servergame.o
\
src/io/gfx/anim.o src/io/gfx/font.o src/io/gfx/paletteeffects.o
\
src/io/gfx/sprite.o src/io/gfx/video.o
\
src/io/controls.o src/io/file.o src/io/network.o src/io/sound.o
\
src/level/event/event.o src/level/event/eventframe.o
\
src/level/bullet.o src/level/demolevel.o src/level/level.o
\
src/level/levelframe.o src/level/levelload.o
\
src/menu/gamemenu.o src/menu/mainmenu.o src/menu/menu.o
\
src/menu/menuutil.o src/menu/setupmenu.o
\
src/player/bird.o src/player/player.o src/player/playerframe.o
\
src/main.o src/movable.o src/planet.o src/scene.o src/util.o
OpenJazz
:
$(objects)
OpenJazz
:
$(objects)
cc
-Wall
-o
OpenJazz
-lSDL
-lstdc
++
$(objects)
cc
-Wall
-o
OpenJazz
-lSDL
-lstdc
++
$(objects)
bird.o
:
level.h
%.o
:
%.cpp
bonus.o
:
bonus.h file.h
cc
-Wall
-DUSE_SOCKETS
-Isrc
-O2
-c
$<
-o
$@
bullet.o
:
game.h level.h palette.h
events.o
:
level.h sound.h
file.o
:
file.h
font.o
:
font.h palette.h
game.o
:
font.h game.h level.h menu.h palette.h sound.h
level.o
:
font.h game.h level.h menu.h palette.h sound.h
levelload.o
:
font.h game.h level.h palette.h sound.h
main.o
:
font.h game.h level.h menu.h palette.h sound.h
menu.o
:
font.h game.h level.h menu.h palette.h sound.h
network.o
:
font.h network.h
palette.o
:
level.h palette.h
planet.o
:
file.h planet.h
player.o
:
font.h game.h level.h palette.h sound.h
scene.o
:
file.h scene.h sound.h
sound.o
:
file.h sound.h
sprite.o
:
level.h palette.h
util.o
:
file.h palette.h
bird.h
:
OpenJazz.h
bonus.h
:
OpenJazz.h
bullet.h
:
events.h player.h
events.h
:
player.h
file.h
:
OpenJazz.h
font.h
:
file.h
game.h
:
file.h
level.h
:
bullet.h events.h scene.h sprite.h
menu.h
:
OpenJazz.h
network.h
:
OpenJazz.h
palette.h
:
OpenJazz.h
planet.h
:
OpenJazz.h
player.h
:
bird.h
scene.h
:
OpenJazz.h
sound.h
:
OpenJazz.h
sprite.h
:
OpenJazz.h
clean
:
clean
:
rm
-f
OpenJazz
$(objects)
rm
-f
OpenJazz
$(objects)
Makefile.debian
View file @
943294c8
# OpenJazz makefile
# OpenJazz makefile
objects
=
bird.o bonus.o bullet.o events.o file.o font.o game.o level.o
\
objects
=
src/bonus/bonus.o
\
levelload.o main.o menu.o network.o palette.o planet.o player.o scene.o
\
src/game/clientgame.o src/game/game.o src/game/gamemode.o
\
sound.o sprite.o util.o
src/game/servergame.o
\
src/io/gfx/anim.o src/io/gfx/font.o src/io/gfx/paletteeffects.o
\
src/io/gfx/sprite.o src/io/gfx/video.o
\
src/io/controls.o src/io/file.o src/io/network.o src/io/sound.o
\
src/level/event/event.o src/level/event/eventframe.o
\
src/level/bullet.o src/level/demolevel.o src/level/level.o
\
src/level/levelframe.o src/level/levelload.o
\
src/menu/gamemenu.o src/menu/mainmenu.o src/menu/menu.o
\
src/menu/menuutil.o src/menu/setupmenu.o
\
src/player/bird.o src/player/player.o src/player/playerframe.o
\
src/main.o src/movable.o src/planet.o src/scene.o src/util.o
CXXFLAGS
+=
-g
-Wall
-O2
CXXFLAGS
+=
-g
-Wall
-O2
-DUSE_SOCKETS
# Uncomment the following two lines for music (requires libmodplug)
# Uncomment the following two lines for music (requires libmodplug)
#CXXFLAGS += -DUSE_MODPLUG `pkg-config --cflags libmodplug`
#CXXFLAGS += -DUSE_MODPLUG `pkg-config --cflags libmodplug`
...
@@ -13,42 +24,8 @@ CXXFLAGS += -g -Wall -O2
...
@@ -13,42 +24,8 @@ CXXFLAGS += -g -Wall -O2
OpenJazz
:
$(objects)
OpenJazz
:
$(objects)
cc
$(CXXFLAGS)
-o
OpenJazz
$(LDFLAGS)
-lSDL
-lstdc
++
$(objects)
cc
$(CXXFLAGS)
-o
OpenJazz
$(LDFLAGS)
-lSDL
-lstdc
++
$(objects)
bird.o
:
level.h
%.o
:
%.cpp
bonus.o
:
bonus.h file.h
cc
$(CXXFLAGS)
-Isrc
-c
$<
-o
$@
bullet.o
:
game.h level.h palette.h
events.o
:
level.h sound.h
file.o
:
file.h
font.o
:
font.h palette.h
game.o
:
font.h game.h level.h menu.h palette.h sound.h
level.o
:
font.h game.h level.h menu.h palette.h sound.h
levelload.o
:
font.h game.h level.h palette.h sound.h
main.o
:
font.h game.h level.h menu.h palette.h sound.h
menu.o
:
font.h game.h level.h menu.h palette.h sound.h
network.o
:
font.h network.h
palette.o
:
level.h palette.h
planet.o
:
file.h planet.h
player.o
:
font.h game.h level.h palette.h sound.h
scene.o
:
file.h scene.h sound.h
sound.o
:
file.h sound.h
sprite.o
:
level.h palette.h
util.o
:
file.h palette.h
bird.h
:
OpenJazz.h
bonus.h
:
OpenJazz.h
bullet.h
:
events.h player.h
events.h
:
player.h
file.h
:
OpenJazz.h
font.h
:
file.h
game.h
:
file.h
level.h
:
bullet.h events.h scene.h sprite.h
menu.h
:
OpenJazz.h
network.h
:
OpenJazz.h
palette.h
:
OpenJazz.h
planet.h
:
OpenJazz.h
player.h
:
bird.h
scene.h
:
OpenJazz.h
sound.h
:
OpenJazz.h
sprite.h
:
OpenJazz.h
clean
:
clean
:
rm
-f
OpenJazz
$(objects)
rm
-f
OpenJazz
$(objects)
Makefile.wiz
View file @
943294c8
...
@@ -15,6 +15,7 @@ INCLUDES = -I. -I$(PREFIX)/include -I$(PREFIX)/include/modplug
...
@@ -15,6 +15,7 @@ INCLUDES = -I. -I$(PREFIX)/include -I$(PREFIX)/include/modplug
# list all .c files here
# list all .c files here
CFILES
=
\
CFILES
=
\
main.cpp
\
main.cpp
\
movable.cpp
\
planet.cpp
\
planet.cpp
\
scene.cpp
\
scene.cpp
\
util.cpp
\
util.cpp
\
...
@@ -83,4 +84,4 @@ clean:
...
@@ -83,4 +84,4 @@ clean:
-
rm
-f
$(OFILES)
$(MAPFILE)
$(PROGRAM)
-
rm
-f
$(OFILES)
$(MAPFILE)
$(PROGRAM)
install
:
all
install
:
all
$(CROSS)
/bin/
$(TARGET)
-strip
-o
$(PROGRAM)
.gpe
$(PROGRAM)
$(CROSS)
/bin/
$(TARGET)
-strip
-o
$(PROGRAM)
.gpe
$(PROGRAM)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment