diff mk/objective.mk @ 1695:3cf80d8a6d8d trunk

[svn] - Removed .cpp.o target since we don't have any .cpp files anymore. - A test build then revealed that we still had two .cpp files in Plugins/Input/musepack, fixed that. - Moved nenolod's fix from init.mk to objective.mk. - Removed call to ldconfig in Makefile and replaced it with a hint to call ldconfig manually, since ldconfig without parameters breaks some systems (mainly OpenBSD). - I hope I did not forget to list a change I did ;)
author js
date Fri, 15 Sep 2006 06:36:26 -0700
parents 8d7f4260022d
children 2d84f6a3ca23
line wrap: on
line diff
--- a/mk/objective.mk	Thu Sep 14 14:06:45 2006 -0700
+++ b/mk/objective.mk	Fri Sep 15 06:36:26 2006 -0700
@@ -1,6 +1,8 @@
 default: all
 all: build
 
+.SUFFIXES: .cxx .cc
+
 install: build
 	$(MAKE) install-prehook
 	@for i in $(BINDIR) $(LIBDIR) $(INCLUDEDIR); do \
@@ -162,7 +164,7 @@
 	fi;
 	$(CC) $(CFLAGS) -c $< -o $@
 
-.cc.o .cpp.o .cxx.o:
+.cc.o .cxx.o:
 	@if [ $(SHOW_CFLAGS) -eq 1 ]; then	\
 		printf "%10s     %-20s (%s)\n" CXX $< "${CXXFLAGS}";	\
 	else \