Gordons Projects

--> Projects Top-Level GIT

Added in the SN3218 LED controller IC - as used in the PiGlow
[wiringPi] / examples / Makefile
index 8cc256f..8848b33 100644 (file)
@@ -42,7 +42,7 @@ SRC   =       blink.c blink8.c blink12.c                                      \
                nes.c                                                           \
                softPwm.c softTone.c                                            \
                delayTest.c serialRead.c serialTest.c okLed.c ds1302.c          \
-               rht03.c
+               rht03.c piglow.c
 
 OBJ    =       $(SRC:.c=.o)
 
@@ -139,6 +139,10 @@ ds1302:    ds1302.o
        @echo [link]
        @$(CC) -o $@ ds1302.o $(LDFLAGS) $(LDLIBS)
 
+piglow:        piglow.o
+       @echo [link]
+       @$(CC) -o $@ piglow.o $(LDFLAGS) $(LDLIBS)
+
 
 .c.o:
        @echo [CC] $<