diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-09-18 23:17:45 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-09-18 23:17:45 +0000 |
commit | 9333d21abe61d66bd8cb800ec9f8b13a58060fe7 (patch) | |
tree | 5ef8d5397044cd64040bd85dc8ca1a7591e00a8b | |
parent | 9c9949846e9958520994009b7ed2a98367bc6994 (diff) |
Add install make target
* Makefile (INSTALL): New variable.
install: New target.
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |