blob: 9807301e462c43fdf9d5357206cccf036a9d0f8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/Makefile b/Makefile
index 32fa704..c426ef8 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,9 @@ endif
ifeq ($(BUILD_TYPE),PROFILE)
CFLAGS+= -pg
endif
-ifeq ($(BUILD_TYPE),RELEASE)
- CFLAGS+= -O3 -fomit-frame-pointer
-endif
+#ifeq ($(BUILD_TYPE),RELEASE)
+# CFLAGS+= -O3 -fomit-frame-pointer
+#endif
LDFLAGS += -Lbuild/ -lclipper
# By courtesy of Whissi: this enforces use of our CXXFLAGS
@@ -70,7 +70,7 @@ $(BUILD_DIR)/libclipper.a: $(LIBS_DIR)/clipper/clipper.cpp
$(CXX) $(CFLAGS) -o $(BUILD_DIR)/libclipper.a $(LIBS_DIR)/clipper/clipper.cpp
$(EXECUTABLE): $(OBJECTS) $(BUILD_DIR)/libclipper.a
- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
$(DIRS):
-@$(MKDIR_PREFIX) $(DIRS)
|