Guest User

Untitled

a guest
Apr 14th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.35 KB | None | 0 0
  1. .SILENT: $(1)
  2. $(1): $$($(1,UC)_OBJS:%=$(BUILD)/%) $$($(1,UC)_LIBS:%=-l%)
  3.     $(TESTGEN) -o t_$(1).cxx --error-printer t_$(1).test
  4.     $(CXX) $(CXXFLAGS) -I$(CXX_DIR) t_$(1).cxx $$($(1,UC)_OBJS:%=$(BUILD/%)) $$($(1,UC)_LIBS:%=-l%) -o t_$(1)
  5.     rm -rf t_$(1).cxx
  6.     ./t_$(1)
  7. endef
  8.  
  9. $(foreach test,$(TESTS),$(eval $(call TEST_template,$(test))))
Add Comment
Please, Sign In to add comment