summaryrefslogtreecommitdiffstats
path: root/arithmetic/Makefile
blob: 0dfaea85847c40cdf23a015680f2dea68942fffd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$NetBSD: Makefile,v 1.4 1995/03/21 11:59:28 cgd Exp $
#	@(#)Makefile	8.1 (Berkeley) 5/31/93

PROG=	arithmetic
MAN=	arithmetic.6
SRCS= arithmetic.c

all: $(PROG)

$(PROG): $(SRCS)
	$(CC) $(CFLAGS) -o $(PROG) $(SRCS)
	$(STRIP) $(PROG)

install: $(PROG) $(MAN)
	$(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
	$(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)

clean:
	rm -f $(CLEANFILES) $(PROG)

.PHONY: all clean install