mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
f183fd3283
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
26 lines
412 B
Makefile
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
|
|
|