aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-28 20:36:08 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-28 20:36:08 +0200
commitc9b45ab56674d97c56eb1c3cde4872a7e0f09984 (patch)
treee7ffa915093a4cc526f1a4e8d6a8187464f7d606
parent52b467c2fa7fecb0ff721d7fed582c07307ea06c (diff)
downloadosc-graphics-c9b45ab56674d97c56eb1c3cde4872a7e0f09984.tar.gz
fixed compiling and linking (compile with -Wall, link without libstdc++)
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cae6a7c..eaa9dda 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-AC_CXXFLAGS = -Wall
+AM_CXXFLAGS = -Wall
bin_PROGRAMS = osc-graphics
osc_graphics_SOURCES = main.cpp osc_graphics.h \
@@ -7,3 +7,6 @@ osc_graphics_SOURCES = main.cpp osc_graphics.h \
layer_box.cpp layer_box.h \
layer_image.cpp layer_image.h \
layer_video.cpp layer_video.h
+
+osc_graphics_LDFLAGS = -nodefaultlibs
+osc_graphics_LDADD = -lc -lsupc++ -lgcc -lgcc_eh