Added 'lib' target for Makefile

This commit is contained in:
Damien 2017-09-28 08:20:54 +11:00
parent 1aa4cca8a6
commit 9f55dc919c
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ mandir = $(prefix)/man
all: $(ALL) all: $(ALL)
lib: $(LIB)
pigpio.o: pigpio.c pigpio.h command.h custom.cext pigpio.o: pigpio.c pigpio.h command.h custom.cext
$(CC) $(CFLAGS) -fpic -c -o pigpio.o pigpio.c $(CC) $(CFLAGS) -fpic -c -o pigpio.o pigpio.c