From b72e8567723c30f0e5a83675743e9380c48e5d55 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 13 Feb 2011 03:07:11 +0100 Subject: Initial import --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..41af90e --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +BINARIES += pci + +INCDIR += +LDINC += $(addprefix -L ,$(LIBDIR)) +LDFLAGS += + +all: $(BINARIES) + +.PHONY: all depend clean + +include common.mk + + +############################################################### +# Target definitions + + +pci: pci.o tools.o + echo -e "LD \t$@" + $(Q)$(CC) $(LDINC) $(LDFLAGS) $(CFLAGS) -o $@ $< tools.o + +clean: + @echo -e "CLEAN \t$(shell pwd)" + -$(Q)rm -f $(addprefix $(BINDIR)/,$(BINARIES)) + -$(Q)rm -f $(OBJ) + -$(Q)rm -f $(DEPEND) -- cgit v1.2.3