Small makefile fixes and readme alterations

This commit is contained in:
Tiehuis 2015-02-21 17:37:54 +13:00
parent 3dd23136d5
commit 75ef085260
2 changed files with 2 additions and 7 deletions

View File

@ -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)

View File

@ -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