From c428e3496a3c5f8046a7f1778b5bdcb551993e7b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 18 Feb 2011 23:51:35 +0100 Subject: Initial support for registers, infrastructure only --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 41af90e..ae98ee0 100644 --- a/Makefile +++ b/Makefile @@ -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)" -- cgit v1.2.3