Skip to content

Commit f2e519a

Browse files
committed
Merge branch 'master' of https://github.com/Databean/warsofcatan into settlements_and_cities
2 parents 157c4d0 + 45b83b7 commit f2e519a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
export OBJ_HOME := $(realpath obj)
22
export SRC_HOME := $(realpath src)
33
export INCL_HOME := $(realpath include)
4-
export TEST_LINK_FILES := $(realpath UnitTest++/libUnitTest++.a)
4+
export TEST_LINK_FILES := $(realpath UnitTest++)/libUnitTest++.a
55
export TEST_INCLUDE := $(realpath UnitTest++/src)
66
export EXECUTABLE := warsofcatan
77
ALLFILES := $(wildcard $(SRC_HOME)/*) $(wildcard $(INCL_HOME)/*)
88
export CXX := g++
99
export LD := g++
1010
export 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
1414
all: $(EXECUTABLE)

0 commit comments

Comments
 (0)