File: Makefile

package info (click to toggle)
irqbalance 0.56-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 344 kB
  • ctags: 277
  • sloc: ansic: 2,132; sh: 105; makefile: 76
file content (17 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS+=-g -Os -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0` 

all: irqbalance

LIBS=bitmap.o irqbalance.o cputree.o  procinterrupts.o irqlist.o placement.o activate.o network.o powermode.o numa.o classify.o

irqbalance: .depend $(LIBS)
	gcc  -g -O2 -D_FORTIFY_SOURCE=2 -Wall  `pkg-config --libs glib-2.0` $(LIBS) -o irqbalance 

clean:
	rm -f irqbalance *~ *.o .depend

# rule for building dependency lists, and writing them to a file
# named ".depend".
.depend:
	rm -f .depend
	gccmakedep -f- -- $(CFLAGS) -- *.c > .depend