mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Games: Use Makefile.common here too.
This commit is contained in:
parent
104af4a5dc
commit
08bc5d44e7
2 changed files with 6 additions and 24 deletions
|
@ -1,21 +1,12 @@
|
||||||
|
include ../../Makefile.common
|
||||||
|
|
||||||
OBJS = \
|
OBJS = \
|
||||||
Field.o \
|
Field.o \
|
||||||
main.o
|
main.o
|
||||||
|
|
||||||
APP = Minesweeper
|
APP = Minesweeper
|
||||||
|
|
||||||
STANDARD_FLAGS = -std=c++17 -Wno-sized-deallocation
|
DEFINES += -DUSERLAND
|
||||||
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
|
|
||||||
|
|
||||||
all: $(APP)
|
all: $(APP)
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,12 @@
|
||||||
|
include ../../Makefile.common
|
||||||
|
|
||||||
OBJS = \
|
OBJS = \
|
||||||
SnakeGame.o \
|
SnakeGame.o \
|
||||||
main.o
|
main.o
|
||||||
|
|
||||||
APP = Snake
|
APP = Snake
|
||||||
|
|
||||||
STANDARD_FLAGS = -std=c++17 -Wno-sized-deallocation
|
DEFINES += -DUSERLAND
|
||||||
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
|
|
||||||
|
|
||||||
all: $(APP)
|
all: $(APP)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue