summaryrefslogtreecommitdiff
path: root/pages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pages/Makefile')
-rw-r--r--pages/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/pages/Makefile b/pages/Makefile
index 2a8b8be..1750056 100644
--- a/pages/Makefile
+++ b/pages/Makefile
@@ -2,11 +2,6 @@ CXX ?= g++
AR ?= ar
ECPPC ?= ecppc
-CXXFLAGS ?= -O2 -Woverloaded-virtual -Wall -fPIC
-
-CXXFLAGS += `tntnet-config --cxxflags`
-LDFLAGS += `tntnet-config --libs`
-
INCLUDES += -I.. -I$(VDRDIR)/include
### The directory environment:
@@ -31,8 +26,10 @@ all: libpages.a
### Implicit rules:
+### tntnet produces some compiler warnings,
+### so we add -Wno-unused-variable -Wno-non-virtual-dtor for nice output ;)
%.o: %.cpp
- $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+ $(CXX) $(CXXFLAGS) -Wno-unused-variable -Wno-non-virtual-dtor -c $(DEFINES) $(INCLUDES) $<
%.cpp: %.ecpp
$(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CPP) $<