about summary refs log blame commit diff
path: root/patterns.mk
blob: 91a758f3389da9bc0f5b1206acde30d7bcf9aaa6 (plain) (tree)
1
2
3
4
5
6
7
8
         
                                                                                                                     
 
          
                                                                                                                     
 
        
                                                                                                             
%.o: %.cc
	$(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP

%.o: %.cpp
	$(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP

%.o: %.c
	$(trace-cc) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP