diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-26 15:14:28 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-26 15:14:28 +0200 |
commit | 08bc5d44e76e10504036915a063ed3c5c28fd53f (patch) | |
tree | 8dda7ea0eb626b85cdd311d8bfccade9f91be886 | |
parent | 104af4a5dcac79c74be1b8f09aede8453945656a (diff) | |
download | serenity-08bc5d44e76e10504036915a063ed3c5c28fd53f.zip |
Games: Use Makefile.common here too.
-rw-r--r-- | Games/Minesweeper/Makefile | 15 | ||||
-rw-r--r-- | Games/Snake/Makefile | 15 |
2 files changed, 6 insertions, 24 deletions
diff --git a/Games/Minesweeper/Makefile b/Games/Minesweeper/Makefile index a289634ddd..2c93335758 100644 --- a/Games/Minesweeper/Makefile +++ b/Games/Minesweeper/Makefile @@ -1,21 +1,12 @@ +include ../../Makefile.common + OBJS = \ Field.o \ main.o APP = Minesweeper -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) 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) |