-
Notifications
You must be signed in to change notification settings - Fork 6
/
gp2xwiz.mk
30 lines (29 loc) · 1.76 KB
/
gp2xwiz.mk
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
#
# Gmu Music Player
#
# Copyright (c) 2006-2011 Johannes Heimansberg (wejp.k.vu)
#
# File: gp2xwiz.mk Created: 060904
#
# Description: Makefile configuration (GP2X [Open2X] and Wiz)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2 of
# the License. See the file COPYING in the Gmu's main directory
# for details.
#
#DECODERS_TO_BUILD=decoders/vorbis.so decoders/musepack.so decoders/flac.so decoders/wavpack.so decoders/mpg123.so decoders/mikmod.so
DECODERS_TO_BUILD=decoders/vorbis.so decoders/flac.so decoders/wavpack.so decoders/mpg123.so decoders/mikmod.so decoders/musepack.so
FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
SDL_LIB=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/lib -lSDL -lpthread -lpng -ljpeg
SDL_CFLAGS=-I/usr/include/SDL -I/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/arm-open2x-linux/include -I/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/lib/include -D_GNU_SOURCE=1 -D_REENTRANT
#CXX=arm-unknown-linux-gnu-g++
#CC=arm-unknown-linux-gnu-gcc
CXX=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/arm-open2x-linux-g++
CC=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/arm-open2x-linux-gcc
STRIP=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/arm-open2x-linux-strip
COPTS?=-O3 -mtune=arm920t -ffast-math
CFLAGS=-fno-strict-aliasing -fomit-frame-pointer $(SDL_CFLAGS) -I/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/include
LFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/lib -lpthread -lm -ldl -lz -lgcc -Wl,-export-dynamic
DISTFILES=$(COMMON_DISTBIN_FILES) wiz.keymap gp2x.keymap gmu.wiz.conf gmu.gp2x.conf gmu-wiz.gpu gmu-gp2x.gpu gmuinput.gp2x.conf gmuinput.wiz.conf