GNUmakefile.in 438 Bytes
Newer Older
1
2
3
4
5
#
# Insert Copyright Here.
#
include ../Makeconf

Leigh B. Stoller's avatar
Leigh B. Stoller committed
6
7
8
9
10
BINS		= suexec
SCRIPTS		= paperbag plasticwrap

all:	$(BINS)

11
12
13
14
include ../GNUmakerules

CFLAGS		= -O -g

Leigh B. Stoller's avatar
Leigh B. Stoller committed
15
16
17
18
19
20
21
22
23
24
25
26
suexec:	suexec.c suexec.h
	$(CC) $(CFLAGS) -o suexec suexec.c

install: $(addprefix $(INSTALL_BINDIR)/, $(BINS))
	@echo "Don't forget to do a post-install as root"

post-install:
	chown root $(INSTALL_BINDIR)/suexec
	chmod u+s $(INSTALL_BINDIR)/suexec

clean:
	rm -f *.o $(BINS) core