File: Makefile

package info (click to toggle)
dracut 020-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,536 kB
  • sloc: sh: 11,827; ansic: 1,960; makefile: 183; python: 165; perl: 55
file content (17 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
prefix ?= /usr
bindir ?= ${prefix}/bin
strip  ?= -s

all: dracut-install

dracut-install: dracut-install.c hashmap.c log.c util.c
	gcc -std=gnu99 -O2 -g -Wall -o dracut-install dracut-install.c hashmap.c log.c util.c

install: dracut-install
	install $(strip) -m 0755 dracut-install $(DESTDIR)$(bindir)/dracut-install

clean:
	rm -f dracut-install *~

indent:
	indent -i8 -nut -br -linux -l120 dracut-install.c