Fix spec
[profile/ivi/mingetty.git] / Makefile
1 DESTDIR=
2 CC=gcc
3 CFLAGS=-O2 -Wall -W -pipe -D_GNU_SOURCE
4 MANDIR=/usr/share/man/man8
5 SBINDIR=/sbin
6
7 all:            mingetty
8
9 install:        all
10                 install -m 0755 mingetty $(DESTDIR)$(SBINDIR)
11                 install -m 0644 mingetty.8 $(DESTDIR)$(MANDIR)
12
13 mingetty:       mingetty.o
14
15 clean:
16                 rm -f *.o mingetty
17