summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <og@satcom1.com>2018-12-01 12:16:33 +0100
committerOlivier Gayot <og@satcom1.com>2018-12-01 12:16:33 +0100
commit6dd1018929950ab6a8f1648b6b834a2b6768ad21 (patch)
treef4a88df431e406bd641ad0e47f71f2a3413344d6
parent9d24575844e9d2918e25957f170be098033ee3c4 (diff)
Fix the build system when sdl-digit lib is installed
Signed-off-by: Olivier Gayot <og@satcom1.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c458a47..12c2a23 100644
--- a/Makefile
+++ b/Makefile
@@ -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