diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -10,14 +10,18 @@ all: $(BINARIES) include common.mk - ############################################################### # Target definitions +OBJECTS = pci.o ipecamera.o tools.o + +libpcilib.so: $(OBJECTS) + echo -e "LD \t$@" + $(Q)$(CC) $(LDINC) $(LDFLAGS) $(CFLAGS) -shared -o $@ $(OBJECTS) -pci: pci.o tools.o +pci: cli.o libpcilib.so echo -e "LD \t$@" - $(Q)$(CC) $(LDINC) $(LDFLAGS) $(CFLAGS) -o $@ $< tools.o + $(Q)$(CC) $(LDINC) $(LDFLAGS) $(CFLAGS) -L. -lpcilib -o $@ $< clean: @echo -e "CLEAN \t$(shell pwd)" |