1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

Include Makefile.common in all other Makefiles.

This commit is contained in:
Andreas Kling 2019-04-21 04:09:39 +02:00
parent 74b94da6fa
commit 57da00b731
19 changed files with 60 additions and 242 deletions

View file

@ -1,3 +1,5 @@
include ../Makefile.common
OBJS = \
CIODevice.o \
CFile.o \
@ -17,18 +19,7 @@ OBJS = \
CEvent.o
LIBRARY = libcore.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)