forked from SteveMaddison/cabrio
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile.mingw
More file actions
22 lines (18 loc) · 798 Bytes
/
Makefile.mingw
File metadata and controls
22 lines (18 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC=gcc
DATA_DIR=data
CFLAGS=-g -Wall -DDATA_DIR=\"$(DATA_DIR)\"
LDFLAGS=SDL.dll libSDL_gfx-13.dll SDL_image.dll SDL_mixer.dll SDL_ttf.dll \
libfreetype-6.dll glut.dll iconv.dll libxml2.dll libpng12-0.dll jpeg.dll \
libvorbis-0.dll libvorbisfile-3.dll mikmod.dll smpeg.dll \
avcodec-52.dll avdevice-52.dll avformat-52.dll avutil-49.dll swscale-0.dll \
-lglu32 -lopengl32 -mwindows
INCLUDES=-I./include -I/usr/include/libxml2
cabrio: main.o ogl.o sdl_wrapper.o config.o bg.o menu.o game_sel.o \
game.o font.o hint.o platform.o submenu.o \
sound.o event.o key.o control.o setup.o sdl_ogl.o video.o packet.o frame.o \
category.o focus.o emulator.o snap.o media.o location.o lookup.o
$(CC) -o $@ $^ $(LDFLAGS)
.c.o: %.c
$(CC) $(CFLAGS) $(INCLUDES) -o $@ -c $<
clean:
rm -f cabrio *.o core