mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +00:00
pi build with sdl2
This commit is contained in:
parent
5b87cd5c37
commit
27a0d34dff
@ -33,7 +33,7 @@ specials: 8inst_s 16inst_s 8size 16size 8inst_c 16inst_c size_c size_s
|
||||
specials_clean:
|
||||
rm -f 8inst_s 16inst_s 8size 16size 8inst_c 16inst_c size_c size_s
|
||||
|
||||
# Linux/OSX SDL builds
|
||||
# Linux/OSX/RPi SDL builds
|
||||
gsplus: $(OBJECTS) compile_time.o
|
||||
$(LD) $(CCOPTS) $(LDOPTS) $(OBJECTS) compile_time.o $(LDFLAGS) -o $(NAME)$(SUFFIX) $(EXTRA_LIBS)
|
||||
echo $(OBJECTS)
|
||||
|
16
src/vars_rpilinux_sdl2
Normal file
16
src/vars_rpilinux_sdl2
Normal file
@ -0,0 +1,16 @@
|
||||
TARGET = gsplus
|
||||
NAME = gsplus
|
||||
PERL = perl
|
||||
CC = gcc
|
||||
LD = g++
|
||||
#LD = gcc
|
||||
AS = cc
|
||||
|
||||
OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) $(FSTOBJ) sdl2_driver.o sdl2snd_driver.o
|
||||
CCOPTS = -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=armv6
|
||||
OPTS = -DGSPLUS_LITTLE_ENDIAN -DHAVE_TFE -DHAVE_ATBRIDGE -DHAVE_SDL -I/usr/include/SDL2 -I/usr/include/freetype2
|
||||
|
||||
EXTRA_LIBS = -ldl -lfreetype -lSDL2 -lSDL2_image
|
||||
|
||||
XOPTS = -I/usr/X11R6/include
|
||||
|
Loading…
Reference in New Issue
Block a user