From afa214449abbade67fda9a69263fbeda3116e46a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 12 Feb 2013 13:13:56 +0100 Subject: [PATCH] make install --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 9d2a584..d2f5945 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 +DESTDIR=/ all: suidgw @@ -10,5 +11,8 @@ test-setup: chown testuser.nogroup scripts/quork chmod ug+s scripts/quork +install: all + install -o root -g root -m 4755 -s suidgw $(DESTDIR)/usr/bin/ + clean: rm -f suidgw *.o -- 2.39.2