File: Makefile

package info (click to toggle)
quik 2.1-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 364 kB
  • ctags: 553
  • sloc: ansic: 3,791; asm: 475; makefile: 103; perl: 74; sh: 44
file content (20 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DIRS=	first second quik
.EXPORT_ALL_VARIABLES:
CC=gcc
CFLAGS=-Wall

all clean dep depend:
	@for I in $(DIRS); do cd $$I; make $@ || exit 1; cd ..; done

install:
	install -d -m 755 $(DESTDIR)/sbin
	install -d -m 755 $(DESTDIR)/boot
	install -d -m 755 $(DESTDIR)/etc
	install -d -m 755 $(DESTDIR)/usr/share/man/man5
	install -d -m 755 $(DESTDIR)/usr/share/man/man8
	install -s quik/quik $(DESTDIR)/sbin
	install -m 444 first/first.b second/second.b second/second $(DESTDIR)/boot
	if [ -f $(DESTDIR)/etc/quik.conf ]; then :; \
	  else set -x; install -m 644 etc/quik.conf $(DESTDIR)/etc; fi
	install -m 444 man/quik.conf.5 $(DESTDIR)/usr/share/man/man5
	install -m 444 man/quik.8 man/bootstrap.8 $(DESTDIR)/usr/share/man/man8