back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-11-18 02:45:54 +0300
committerscratko <m@scratko.xyz>2024-11-18 15:32:49 +0300
commit7fea2267e78de935af6010d5ac7300e51f471601 (patch)
tree42a417b778c6f826b84bcc6515c292bd862dcd99 /Makefile
parent22d4fdabf17aebebfcb73c7d86b5bbc81b6530f4 (diff)
downloadpicture-puzzle-7fea2267e78de935af6010d5ac7300e51f471601.tar.gz
picture-puzzle-7fea2267e78de935af6010d5ac7300e51f471601.tar.bz2
picture-puzzle-7fea2267e78de935af6010d5ac7300e51f471601.zip
Uploading custom images
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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 $@