From dd0370f8203498c1d8497ca9cb610bc4302dd921 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 2 Jan 2017 23:46:10 +0000 Subject: [PATCH] fix Makefile even though this project is discontinued in favor of my "concol" library (which ships a conpix program as an example), i thought we can at least fix it so it builds without having the eclipse IDE installed... --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9dfcb60..9489d72 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ CXXFLAGS = -O2 -g -Wall -fmessage-length=0 -OBJS = player.o +OBJS = ConsoleWindow.o Format.o Rgb.o conpix.o Logger.o -LIBS = +LEPT_LIBS := $(shell pkg-config --libs lept) +CURSES_LIBS := $(shell pkg-config --libs ncurses) -TARGET = player +LIBS = $(CURSES_LIBS) $(LEPT_LIBS) + +TARGET = conpix $(TARGET): $(OBJS) $(CXX) -o $(TARGET) $(OBJS) $(LIBS) -- 2.11.4.GIT