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