Fixed a problem with x0vncserver compilation introduced on merging
with VNC 4.1.1. Updated x0vncserver includes a .cxx file from the
vncconfig_unix directory but g++ with the -c option creates the
corresponding .o file in current directory by default. As a result,
the .o file could not be found.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@539 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/boilerplate.mk b/boilerplate.mk
index 82ac68b..38f376e 100644
--- a/boilerplate.mk
+++ b/boilerplate.mk
@@ -30,7 +30,7 @@
.SUFFIXES: .cxx .c .o
.c.o:
- $(CC) $(ALL_CPPFLAGS) $(CFLAGS) -c $<
+ $(CC) $(ALL_CPPFLAGS) $(CFLAGS) -o $@ -c $<
.cxx.o:
- $(CXX) $(ALL_CPPFLAGS) $(CXXFLAGS) -c $<
+ $(CXX) $(ALL_CPPFLAGS) $(CXXFLAGS) -o $@ -c $<