lix/mk/patterns.mk

12 lines
577 B
Makefile
Raw Normal View History

$(buildprefix)%.o: %.cc
@mkdir -p "$(dir $@)"
2021-02-26 22:48:41 +01:00
$(trace-cxx) $(CXX) -o $@ -c $< $(CPPFLAGS) $(GLOBAL_CXXFLAGS_PCH) $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP
$(buildprefix)%.o: %.cpp
@mkdir -p "$(dir $@)"
2021-02-26 22:48:41 +01:00
$(trace-cxx) $(CXX) -o $@ -c $< $(CPPFLAGS) $(GLOBAL_CXXFLAGS_PCH) $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP
2013-12-12 11:22:57 +01:00
$(buildprefix)%.o: %.c
@mkdir -p "$(dir $@)"
2021-02-26 22:48:41 +01:00
$(trace-cc) $(CC) -o $@ -c $< $(CPPFLAGS) $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP