mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:07:35 +00:00
Include Makefile.common in all other Makefiles.
This commit is contained in:
parent
74b94da6fa
commit
57da00b731
19 changed files with 60 additions and 242 deletions
|
@ -1,3 +1,5 @@
|
|||
include ../Makefile.common
|
||||
|
||||
SHAREDGRAPHICS_OBJS = \
|
||||
../SharedGraphics/Painter.o \
|
||||
../SharedGraphics/StylePainter.o \
|
||||
|
@ -55,18 +57,7 @@ LIBGUI_OBJS = \
|
|||
OBJS = $(SHAREDGRAPHICS_OBJS) $(LIBGUI_OBJS)
|
||||
|
||||
LIBRARY = libgui.a
|
||||
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../LibC -I../Servers -I.. -I.
|
||||
|
||||
DEFINES = -DUSERLAND -DSANITIZE_PTRS -DLIBGUI
|
||||
|
||||
CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(FLAVOR_FLAGS) $(STANDARD_FLAGS) $(INCLUDE_FLAGS) $(DEFINES)
|
||||
CXX = i686-pc-serenity-g++
|
||||
LD = i686-pc-serenity-ld
|
||||
AR = i686-pc-serenity-ar
|
||||
DEFINES += -DUSERLAND
|
||||
|
||||
all: $(LIBRARY)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue