From 9333d21abe61d66bd8cb800ec9f8b13a58060fe7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 18 Sep 2010 23:17:45 +0000 Subject: Add install make target * Makefile (INSTALL): New variable. install: New target. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13777e341..01d6fdc39 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ CFLAGS = -g -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 +INSTALL = install + netio: main.o netfs.o node.o lib.o protocol.o gcc $(CFLAGS) -lnetfs -lfshelp -liohelp -lthreads -lports \ -lihash -lshouldbeinlibc \ @@ -42,4 +44,8 @@ protocol.o: protocol.c netio.h lib.h node.h clean: rm -rf *.o netio -.PHONY: clean +install: + $(INSTALL) -d $(DESTDIR)/hurd + $(INSTALL) netio $(DESTDIR)/hurd + +.PHONY: clean install -- cgit v1.2.3