mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +00:00
sdl2 ubuntu build
This commit is contained in:
parent
df76d14f9f
commit
8e9c568db5
@ -22,6 +22,17 @@ build-ubuntu-sdl:
|
||||
- ln -s vars_x86linux_sdl vars
|
||||
- make clean ; make
|
||||
|
||||
build-ubuntu-sdl2:
|
||||
tags:
|
||||
- ubuntu
|
||||
stage: build
|
||||
script:
|
||||
- sudo apt-get update -qq && apt-get install -y -qq g++ libpcap0.8-dev libx11-dev libsdl2-dev libfreetype6-dev
|
||||
- cd src
|
||||
- ln -s vars_x86linux_sdl2 vars
|
||||
- make clean ; make
|
||||
|
||||
|
||||
|
||||
build-osx:
|
||||
tags:
|
||||
|
@ -1,18 +1,19 @@
|
||||
TARGET = gsportx
|
||||
OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) xdriver.o sdlsnd_driver2.o
|
||||
NAME = gsportx
|
||||
PERL = perl
|
||||
CC = gcc
|
||||
LD = g++
|
||||
AS = cc
|
||||
|
||||
OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) xdriver.o sdlsnd_driver2.o
|
||||
CCOPTS = -O2 -Wall -fomit-frame-pointer -std=gnu99 -DHAVE_SDL -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/include/SDL2 -I/usr/include/freetype2
|
||||
CPPOPTS = -O2 -DHAVE_TFE -DHAVE_SDL -DTOGGLE_STATUS -DHAVE_ATBRIDGE -I/usr/include/freetype2 -I/usr/include/SDL2
|
||||
OPTS = -DGSPORT_LITTLE_ENDIAN
|
||||
SUFFIX =
|
||||
NAME = gsportx
|
||||
LDFLAGS =
|
||||
LDOPTS =
|
||||
LD = g++
|
||||
EXTRA_LIBS = -lXext -lfreetype -lSDL2 -ldl
|
||||
EXTRA_SPECIALS =
|
||||
|
||||
AS = cc
|
||||
PERL = perl
|
||||
|
||||
XOPTS = -I/usr/X11R6/include
|
||||
|
21
src/vars_x86linux_sdl2
Normal file
21
src/vars_x86linux_sdl2
Normal file
@ -0,0 +1,21 @@
|
||||
TARGET = gsplus
|
||||
NAME = gsplus
|
||||
PERL = perl
|
||||
CC = gcc
|
||||
LD = gcc
|
||||
AS = cc
|
||||
|
||||
OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) osxdriver.o sdlsnd_driver2.o
|
||||
|
||||
# C Compiler Options
|
||||
CCOPTS = -O2 -Wall -fomit-frame-pointer -std=gnu99 -DHAVE_SDL -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/include/SDL2 -I/usr/include/freetype2
|
||||
# C++ Compiler Options
|
||||
CPPOPTS = -O2 -DHAVE_TFE -DHAVE_SDL -DTOGGLE_STATUS -DHAVE_ATBRIDGE -I/usr/include/freetype2 -I/usr/include/SDL2
|
||||
|
||||
|
||||
EXTRA_LIBS = -lfreetype -lSDL2 -ldl -lm -lstdc++
|
||||
OPTS = -DGSPORT_LITTLE_ENDIAN
|
||||
SUFFIX =
|
||||
LDFLAGS =
|
||||
LDOPTS = -I.
|
||||
EXTRA_SPECIALS =
|
Loading…
Reference in New Issue
Block a user