sup

small tool for privilege escalation
git clone https://git.parazyd.org/sup
Log | Files | Refs | README | LICENSE

commit 6dc729cc16f9263e76a04c9c366139d4cb44db1f
parent e50cc7dcf0d0b8f8550a70d2155739c64b024c15
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 13 May 2020 14:36:10 +0200

Makefile fixes and tweaks.

Diffstat:
MMakefile | 6+++---
Mconfig.mk | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -23,14 +23,14 @@ clean: install: all mkdir -p $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(MANDIR) cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin + cp -f $(MAN) $(DESTDIR)$(MANDIR) chmod 4711 $(DESTDIR)$(PREFIX)/bin/$(BIN) - mkdir -p $(DESTDIR)$(MANDIR) - cp -r $(MAN) $(DESTDIR)$(MANDIR) uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) - rm -f $(DESTDIR)$(PREFIX)/$(MAN) + rm -f $(DESTDIR)$(MANDIR)/$(MAN) .c.o: $(CC) $(CFLAGS) -c $< diff --git a/config.mk b/config.mk @@ -3,5 +3,5 @@ PREFIX = /usr/local MANDIR = $(PREFIX)/share/man/man1 # Stock FLAGS -CFLAGS = -Os -Wall -Werror -pedantic +CFLAGS = -Os -Wall -Werror -pedantic -std=c99 LDFLAGS = -static -s