File: Makefile

package info (click to toggle)
update 1.3-2
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 32 kB
  • ctags: 20
  • sloc: ansic: 97; makefile: 50
file content (24 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

CC = gcc
STRIP = strip

DEFS =
#DEFS = -DNO_BDFLUSH
CFLAGS = $(DEFS) -O3 -fomit-frame-pointer -Wall

BINDIR = /sbin
MANDIR = /usr/man/man8


update: update.o

install: update
	cp -f update $(BINDIR)/update
	$(STRIP) $(BINDIR)/update
	if [ -d $(MANDIR) ] ; then cp update.8 $(MANDIR) ; fi

clean:
	rm -f update core *.o *~

# depencies
update.o: update.c