Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhikharevich committed Apr 14, 2016
1 parent df1448a commit cf0dd2b
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CXXFLAGS = -std=c++14
LDFLAGS = -lSDL2 -lSDL2_image
DEPS = jsoncpp sdl2 SDL2_image
CXXFLAGS = -std=c++14 $(shell pkg-config --cflags $(DEPS))
LDFLAGS = $(shell pkg-config --libs $(DEPS))
OBJS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
APP_NAME = deathgame

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* SDL2
* SDL2_image
* jsoncpp

## Building

Expand All @@ -12,4 +13,4 @@ $ make
## Running

The current working directory must contain a file called "config.json".
For an example see "deathgame/config.json" in the source tree.
For an example see "example/config.json" in the source tree.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
4 changes: 2 additions & 2 deletions ui.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "ui.hpp"
#include <chrono>
#include <algorithm>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL.h>
#include <SDL_image.h>

using std::shared_ptr;
using std::vector;
Expand Down
2 changes: 1 addition & 1 deletion ui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <exception>
#include <vector>
#include <thread>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "util.hpp"


Expand Down

0 comments on commit cf0dd2b

Please sign in to comment.