summaryrefslogtreecommitdiff
path: root/LibCore
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-21 04:09:39 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-21 04:09:39 +0200
commit57da00b731fd060c051bb5cdff5cdf507ece81bb (patch)
tree0e64b6c2fc8e3169521a3afa76b9919212a3cd84 /LibCore
parent74b94da6fa74b006c5059929443449298d490d87 (diff)
downloadserenity-57da00b731fd060c051bb5cdff5cdf507ece81bb.zip
Include Makefile.common in all other Makefiles.
Diffstat (limited to 'LibCore')
-rw-r--r--LibCore/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/LibCore/Makefile b/LibCore/Makefile
index 1d73ded45b..710a77ae65 100644
--- a/LibCore/Makefile
+++ b/LibCore/Makefile
@@ -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)