-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.x86
34 lines (27 loc) · 1.11 KB
/
Makefile.x86
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# rRootage makefile(MinGW 2.0.0)
# $Id: Makefile,v 1.6 2003/08/10 03:21:28 kenta Exp $
NAME = rr
O = o
RM = rm -f
CC = gcc
CXX = g++
PROG = $(NAME)
DEFAULT_CFLAGS = `sdl-config --cflags` -I/src/gpu940/include/
LDFLAGS = `sdl-config --libs` -lpng -L. -Lx86libs -lbulletmlx86 -lSDL_mixer -lSDL_image -lpng -mwindows -lstdc++ -lGLx86 -lm -lpthread -lz -lpng -ljpeg -lgpu940 -lsmpeg -lvorbis `sdl-config --libs` -lSDL_mixer -lX11
#-lglu32 -lopengl32 -lmingw32 -lmingwex
MORE_CFLAGS = -O0 -DLINUX -Wall -g
CFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
CPPFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) -I./bulletml/
OBJS = $(NAME).$(O) \
foe.$(O) foecommand.$(O) barragemanager.$(O) boss.$(O) ship.$(O) laser.$(O) \
frag.$(O) background.$(O) letterrender.$(O) shot.$(O) \
screen.$(O) vector.$(O) degutil.$(O) rand.$(O) mt19937int.$(O) \
soundmanager.$(O) attractmanager.$(O) minimal.$(O)
# \
#$(NAME)_res.$(O)
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
#$(NAME)_res.o: $(NAME).rc
# windres -i $(NAME).rc -o $(NAME)_res.o
clean:
$(RM) $(PROG) *.$(O)