forked from notaz/picodrive
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.mak
More file actions
26 lines (21 loc) · 813 Bytes
/
config.mak
File metadata and controls
26 lines (21 loc) · 813 Bytes
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
# Automatically generated by configure
# Configured with: './configure' '--platform=opendingux' '--sound-drivers=sdl'
# TARGET = picodrive/picodrive.elf
TARGET = picodrive/picodrive.dge
# CHAINPREFIX := /opt/gcw0-toolchain
CHAINPREFIX ?= /opt/mipsel-RetroFW-linux-uclibc
CROSS_COMPILE ?= $(CHAINPREFIX)/usr/bin/mipsel-linux-
CC = $(CROSS_COMPILE)gcc
CXX = $(CROSS_COMPILE)g++
STRIP = $(CROSS_COMPILE)strip
AS = $(CROSS_COMPILE)as
SYSROOT := $(shell $(CC) --print-sysroot)
SDL_CFLAGS := $(shell $(SYSROOT)/usr/bin/sdl-config --cflags)
SDL_LIBS := $(shell $(SYSROOT)/usr/bin/sdl-config --libs)
CFLAGS += $(SDL_CFLAGS) -std=gnu11 -D_GNU_SOURCE=1 -D_REENTRANT -Wno-unused-result
ASFLAGS +=
LDFLAGS +=
LDLIBS += $(SDL_LIBS) -lpthread -lpng -lm -lz
ARCH = mipsel
PLATFORM = opendingux
SOUND_DRIVERS = sdl