From 6dd1018929950ab6a8f1648b6b834a2b6768ad21 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 1 Dec 2018 12:16:33 +0100 Subject: Fix the build system when sdl-digit lib is installed Signed-off-by: Olivier Gayot --- Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3