summaryrefslogtreecommitdiffstats
path: root/examples/auth/crackcheck/Makefile
blob: edc764529b39dfc7f8f51a49d8c3127a9369c78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# C compiler
#CC=cc
CC=gcc

# Uncomment the following to add symbols to the code for debugging
#DEBUG=-g -Wall

# Optimization for the compiler
#OPTIMIZE=
OPTIMIZE=-O2

CFLAGS= $(DEBUG) $(OPTIMIZE)

OBJS = crackcheck.o
LIBS = -lcrack

crackcheck: $(OBJS)
	$(CC) $(CFLAGS) -o crackcheck $(OBJS) $(LIBS)

clean:
	rm -f core *.o crackcheck

install: crackcheck
	install -m 555 crackcheck $(PREFIX)/sbin/crackcheck