File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ language : cpp
2+ before_install :
3+ - sudo add-apt-repository ppa:antumdeluge/sdl2 -y
4+ - sudo apt-get update -y
5+ - sudo apt-get install libsdl2 libsdl2-dev -y
6+ script : make tests
Original file line number Diff line number Diff line change 11export OBJ_HOME := $(realpath obj)
22export SRC_HOME := $(realpath src)
33export INCL_HOME := $(realpath include)
4- export TEST_LINK_FILES := $(realpath UnitTest++/libUnitTest++.a)
4+ export TEST_LINK_FILES := $(realpath UnitTest++) /libUnitTest++.a
55export TEST_INCLUDE := $(realpath UnitTest++/src)
66export EXECUTABLE := warsofcatan
77ALLFILES := $(wildcard $(SRC_HOME ) /* ) $(wildcard $(INCL_HOME ) /* )
88export CXX := g++
99export LD := g++
1010export CXXFLAGS := -g -I$(INCL_HOME ) -std=c++0x -Wall
11- export LDFLAGS := -lSDL2 -lGL -lGLU
11+ export LDFLAGS := -L/usr/local/lib - lSDL2 -lGL -lGLU
1212
1313.PHONY : all
1414all : $(EXECUTABLE )
You can’t perform that action at this time.
0 commit comments