From cefea35d5e3195b1a6dab7720c65adeebdc692f7 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 27 Jul 2010 15:45:40 -0600 Subject: [PATCH] Add install target to Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index e3fe6fb..2bcebdc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,21 @@ BINARIES = forftanks designer.cgi HTML = forf.html procs.html intro.html designer.html +WWW = dirtbags.css grunge.png designer.js figures.js tanks.js nav.html.inc CFLAGS = -Wall all: $(BINARIES) $(HTML) +install: + install -d $(DESTDIR)/usr/bin + install run-tanks $(DESTDIR)/usr/bin + install forftanks $(DESTDIR)/usr/bin + + install -d $(DESTDIR)/usr/lib/ctanks + install designer.cgi $(DESTDIR)/usr/lib/ctanks + install $(HTML) $(DESTDIR)/usr/lib/ctanks + install $(WWW) $(DESTDIR)/usr/lib/ctanks + forftanks: forftanks.o ctanks.o forf.o forftanks: LDFLAGS = -lm