lix/mk/patterns.mk

12 lines
577 B
Makefile
Raw Normal View History

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