From 55c9a40613fefda6622aa9acd22cce4006fd1077 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 9 Jan 2014 16:12:02 +0100 Subject: Move stuff to top-level This makes it easier to use with "git subtree". --- patterns.mk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 patterns.mk (limited to 'patterns.mk') diff --git a/patterns.mk b/patterns.mk new file mode 100644 index 000000000..77e172136 --- /dev/null +++ b/patterns.mk @@ -0,0 +1,8 @@ +%.o: %.cc + $(QUIET) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP + +%.o: %.cpp + $(QUIET) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP + +%.o: %.c + $(QUIET) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP -- cgit v1.2.3