chiark / gitweb /
Added in the SN3218 LED controller IC - as used in the PiGlow
[wiringPi.git] / examples / Makefile
index 8cc256f1bf89f4dd676780d583717895419d0d1e..8848b33449d7db1056e190cbf49406e9e27b06c8 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] $<