examples: makefile change since mrpl and mrpq do not depend on igb library
authorAndrew Elder <aelder@audioscience.com>
Thu, 6 Sep 2012 14:33:12 +0000 (10:33 -0400)
committerAndrew Elder <aelder@audioscience.com>
Thu, 6 Sep 2012 14:33:12 +0000 (10:33 -0400)
examples/Makefile

index a25b198..fe1e69c 100644 (file)
@@ -13,10 +13,6 @@ test: test.o
 
 simple_talker: simple_talker.o
 
-mrpl: mrpl.o
-
-mrpq: mrpq.o
-
 latency_test: latency_test.o
 
 latency_test.o: latency_test.c
@@ -28,11 +24,13 @@ test.o: test.c
 simple_talker.o: simple_talker.c
        gcc -c $(INCFLAGS) -I../daemons/mrpd $(CFLAGS) simple_talker.c
 
-mrpl.o: mrpl.c
+mrpl: mrpl.c
        gcc -c $(INCFLAGS) -I../daemons/mrpd $(CFLAGS) mrpl.c
+       $(CC) mrpl.o -o $@
 
-mrpq.o: mrpq.c
+mrpq: mrpq.c
        gcc -c $(INCFLAGS) -I../daemons/mrpd $(CFLAGS) mrpq.c
+       $(CC) mrpq.o -o $@
 
 %: %.o
        $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@