From 75ef085260b6ae6f9284303d17f1a869c46cc524 Mon Sep 17 00:00:00 2001 From: Tiehuis Date: Sat, 21 Feb 2015 17:37:54 +1300 Subject: [PATCH] Small makefile fixes and readme alterations --- Makefile | 2 +- README.md | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 62ed8cd..0807672 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC := clang CFLAGS += -g -Wall -Wextra LFLAGS += -DEFINES := -DVT100 -D_REENTRANT -I/usr/include/SDL2 +DEFINES := -DVT100 $(shell pkg-config --cflags sdl2) PROGRAM := 2048 C_FILES := $(wildcard src/*.c) diff --git a/README.md b/README.md index 1621d4a..a30244c 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,7 @@ create a .c file which implements all the functions in gfx.h and add a Makefile ### Get git clone https://github.com/Tiehuis/2048-cli.git - - make vt100 -or - make curses -or - make sdl + make ### Run ./2048