From 1c0669f010b6859721b5a4594b1e38d4098e43f4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 18 Jul 2019 10:15:00 +0200 Subject: LibDraw: Introduce (formerly known as SharedGraphics.) Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^) --- Games/Snake/Makefile | 2 +- Games/Snake/SnakeGame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Games/Snake') diff --git a/Games/Snake/Makefile b/Games/Snake/Makefile index f0af9d7cef..3c3e15e437 100644 --- a/Games/Snake/Makefile +++ b/Games/Snake/Makefile @@ -11,7 +11,7 @@ DEFINES += -DUSERLAND all: $(APP) $(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lcore -lc .cpp.o: @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< diff --git a/Games/Snake/SnakeGame.cpp b/Games/Snake/SnakeGame.cpp index 7229895159..ed388926ee 100644 --- a/Games/Snake/SnakeGame.cpp +++ b/Games/Snake/SnakeGame.cpp @@ -1,7 +1,7 @@ #include "SnakeGame.h" #include #include -#include +#include #include #include -- cgit v1.2.3