diff options
author | Olivier Gayot <og@satcom1.com> | 2018-12-01 12:16:33 +0100 |
---|---|---|
committer | Olivier Gayot <og@satcom1.com> | 2018-12-01 12:16:33 +0100 |
commit | 6dd1018929950ab6a8f1648b6b834a2b6768ad21 (patch) | |
tree | f4a88df431e406bd641ad0e47f71f2a3413344d6 /Makefile | |
parent | 9d24575844e9d2918e25957f170be098033ee3c4 (diff) |
Fix the build system when sdl-digit lib is installed
Signed-off-by: Olivier Gayot <og@satcom1.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,8 +2,8 @@ NAME = $(notdir $(CURDIR)) SRC = $(addprefix src/,main.c init.c move.c flip.c flag.c xSDL.c) CPPFLAGS = -I./include $(shell sdl-config --cflags) -CPPFLAGS += -I../lib/sdl-digit/include -LDFLAGS = -L../lib/sdl-digit -L./lib $(shell sdl-config --libs) -lsdl-digit +CPPFLAGS += -I/usr/include/sdl-digit +LDFLAGS = $(shell sdl-config --libs) -lsdl-digit CFLAGS = -W -Wall -Wextra -std=gnu99 $(shell sdl-config --cflags) CC = gcc |