summaryrefslogtreecommitdiff
path: root/Applications/TextEditor
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 /Applications/TextEditor
parent74b94da6fa74b006c5059929443449298d490d87 (diff)
downloadserenity-57da00b731fd060c051bb5cdff5cdf507ece81bb.zip
Include Makefile.common in all other Makefiles.
Diffstat (limited to 'Applications/TextEditor')
-rw-r--r--Applications/TextEditor/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Applications/TextEditor/Makefile b/Applications/TextEditor/Makefile
index 9d608c49ba..4c8dc105c7 100644
--- a/Applications/TextEditor/Makefile
+++ b/Applications/TextEditor/Makefile
@@ -1,20 +1,11 @@
+include ../../Makefile.common
+
OBJS = \
main.o
APP = TextEditor
-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)