diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-09 16:12:02 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-09 16:12:02 +0100 |
commit | 55c9a40613fefda6622aa9acd22cce4006fd1077 (patch) | |
tree | cd592d5836af42feeeca64ac3ebb77037b93a076 /patterns.mk | |
parent | 259086de841d155f7951c2cc50f799a4631aa512 (diff) |
Move stuff to top-level
This makes it easier to use with "git subtree".
Diffstat (limited to 'patterns.mk')
-rw-r--r-- | patterns.mk | 8 |
1 files changed, 8 insertions, 0 deletions
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 |