define add_lib ldflags += -L ../$(1)/build -l:$(1).a cflags += -isystem ../$(1) endef