Browse Source

tests: use the new auto depends on library

Provided in ea5d3cb7 genlink: provide LIBDEPS for libopencm3 itself
pull/477/merge
Karl Palsson 6 years ago
parent
commit
d465291f45
  1. 2
      tests/rules.mk

2
tests/rules.mk

@ -141,7 +141,7 @@ $(BUILD_DIR)/%.o: %.cxx
@mkdir -p $(dir $@)
$(Q)$(CC) $(TGT_CXXFLAGS) $(CXXFLAGS) $(TGT_CPPFLAGS) $(CPPFLAGS) -o $@ -c $<
$(PROJECT).elf: $(OBJS) $(LDSCRIPT)
$(PROJECT).elf: $(OBJS) $(LDSCRIPT) $(LIBDEPS)
@printf " LD\t$@\n"
$(Q)$(LD) $(TGT_LDFLAGS) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@

Loading…
Cancel
Save