summaryrefslogtreecommitdiff
path: root/Games/Snake/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-26 15:14:28 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-26 15:14:28 +0200
commit08bc5d44e76e10504036915a063ed3c5c28fd53f (patch)
tree8dda7ea0eb626b85cdd311d8bfccade9f91be886 /Games/Snake/Makefile
parent104af4a5dcac79c74be1b8f09aede8453945656a (diff)
downloadserenity-08bc5d44e76e10504036915a063ed3c5c28fd53f.zip
Games: Use Makefile.common here too.
Diffstat (limited to 'Games/Snake/Makefile')
-rw-r--r--Games/Snake/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Games/Snake/Makefile b/Games/Snake/Makefile
index 43a4217a7e..75523458d1 100644
--- a/Games/Snake/Makefile
+++ b/Games/Snake/Makefile
@@ -1,21 +1,12 @@
+include ../../Makefile.common
+
OBJS = \
SnakeGame.o \
main.o
APP = Snake
-STANDARD_FLAGS = -std=c++17 -Wno-sized-deallocation
-WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
-FLAVOR_FLAGS = -fno-exceptions -fno-rtti
-OPTIMIZATION_FLAGS = -Os
-INCLUDE_FLAGS = -I../.. -I. -I../../LibC
-
-DEFINES = -DSANITIZE_PTRS -DUSERLAND
-
-CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(FLAVOR_FLAGS) $(STANDARD_FLAGS) $(INCLUDE_FLAGS) $(DEFINES)
-CXX = i686-pc-serenity-g++
-LD = i686-pc-serenity-g++
-LDFLAGS = -L../../LibC -L../../LibCore -L../../LibGUI
+DEFINES += -DUSERLAND
all: $(APP)