Imported version 1.2.0.0
[mirror-su-wrapper.git] / src / Makefile
blobe45cdcaecf2b4eacf51bbffc751c7318cf33c005
1 CC = gcc
2 CFLAGS = -D_GNU_SOURCE -O2 -pipe -Wall
3 #CFLAGS = -D_GNU_SOURCE -O -g -DDEBUG -Wall
4 LDFLAGS = -Wl,-warn-common
6 all: su-wrapper
8 su-wrapper: su-wrapper.o
9 $(CC) $(LDFLAGS) su-wrapper.o -o su-wrapper
11 install: su-wrapper
12 install -s -o root -g root -m 4711 su-wrapper /usr/sbin/
14 clean:
15 rm -f su-wrapper su-wrapper.o
17 uninstall:
18 rm -f /usr/sbin/su-wrapper
19 mv /etc/su-wrapper.conf /etc/su-wrapper.conf.---