/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2011-02-13 02:07:11 UTC
  • Revision ID: csa@dside.dyndns.org-20110213020711-y9bjh3n4ke6p4t4n
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
BINARIES += pci
 
2
 
 
3
INCDIR += 
 
4
LDINC += $(addprefix -L ,$(LIBDIR))
 
5
LDFLAGS += 
 
6
 
 
7
all: $(BINARIES)
 
8
 
 
9
.PHONY: all depend clean
 
10
 
 
11
include common.mk
 
12
 
 
13
 
 
14
###############################################################
 
15
# Target definitions
 
16
 
 
17
 
 
18
pci: pci.o tools.o
 
19
        echo -e "LD \t$@"
 
20
        $(Q)$(CC) $(LDINC) $(LDFLAGS) $(CFLAGS) -o $@ $< tools.o
 
21
 
 
22
clean:
 
23
        @echo -e "CLEAN \t$(shell pwd)"
 
24
        -$(Q)rm -f $(addprefix $(BINDIR)/,$(BINARIES))
 
25
        -$(Q)rm -f $(OBJ)
 
26
        -$(Q)rm -f $(DEPEND)