Handle *.cpp extension
This commit is contained in:
parent
dfcc64f556
commit
c34f3c5ba4
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
$(QUIET) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP
|
$(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
|
%.o: %.c
|
||||||
$(QUIET) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP
|
$(QUIET) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP
|
||||||
|
|
Loading…
Reference in a new issue