From 7fea2267e78de935af6010d5ac7300e51f471601 Mon Sep 17 00:00:00 2001 From: scratko Date: Mon, 18 Nov 2024 02:45:54 +0300 Subject: Uploading custom images --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d564c15..4732fd6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SRCMODULES = puzzle.cpp gameplay.cpp menu_callbacks.cpp solution_algorithm.cpp main.cpp +SRCMODULES = puzzle.cpp gameplay.cpp menu_callbacks.cpp solution_algorithm.cpp img_handler.cpp main.cpp OBJMODULES = $(SRCMODULES:.cpp=.o) CXX = g++ CXXFLAGS = -Wall -g -D DEBUG @@ -7,7 +7,7 @@ LIBS = -lfltk -lfltk_images all: main %.o: %.сpp - $(CXX) $(CXXFLAGS) -c $< -o $@ + $(CXX) $(CXXFLAGS) -c $< -I /usr/include/libpng16 -o $@ main: $(OBJMODULES) $(CXX) $^ $(LIBS) -o $@ -- cgit v1.2.3