]> mj.ucw.cz Git - suidgw.git/blob - Makefile
d2f59450505d98bb6d205f89c079497f32677cd7
[suidgw.git] / Makefile
1 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
2 DESTDIR=/
3
4 all: suidgw
5
6 suidgw: suidgw.c
7
8 test-setup:
9         chown root.root suidgw
10         chmod u+s suidgw
11         chown testuser.nogroup scripts/quork
12         chmod ug+s scripts/quork
13
14 install: all
15         install -o root -g root -m 4755 -s suidgw $(DESTDIR)/usr/bin/
16
17 clean:
18         rm -f suidgw *.o