1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/examples/auth/crackcheck/Makefile
Brian Candler f183fd3283 Change order of flags in Makefile so that crackcheck builds under Ubuntu
Signed-off-by: Brian Candler <b.candler@pobox.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Dec 14 04:13:38 CET 2018 on sn-devel-144
2018-12-14 04:13:38 +01:00

26 lines
412 B
Makefile

# 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