example Makefiles: standardize on $^ for linking
[lttng-ust.git] / doc / examples / hello-static-lib / Makefile
index 81789e2b5b64faacf355ec868bc9dd31f985dc9e..3da65f042971529bf3d76f0b57cf2b0cdb9222c9 100644 (file)
@@ -40,7 +40,7 @@ lttng-ust-provider-hello.o: tp.c ust_tests_hello.h
        $(CC) $(CFLAGS) -c -o $@ $<
 
 lttng-ust-provider-hello.a: lttng-ust-provider-hello.o
-       ar -rc $@ $<
+       ar -rc $@ $^
 
 hello.o: hello.c
        $(CC) $(CFLAGS) -c -o $@ $<
This page took 0.024356 seconds and 4 git commands to generate.