diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-12 11:22:57 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-12 11:22:57 +0100 |
commit | c34f3c5ba4f353d67ec4a88a32c3aa688347aa4d (patch) | |
tree | a3930a46da8b311c9dd9a67f3e6922b90fde9859 /mk | |
parent | dfcc64f556295481bfea0b68cab11604ec131189 (diff) |
Handle *.cpp extension
Diffstat (limited to 'mk')
-rw-r--r-- | mk/patterns.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/patterns.mk b/mk/patterns.mk index 87d90955b..77e172136 100644 --- a/mk/patterns.mk +++ b/mk/patterns.mk @@ -1,5 +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 |