mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
410a6c72ea
(This used to be commit f836be323a
)
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) $(LIBS) -o crackcheck $(OBJS)
|
|
|
|
clean:
|
|
rm -f core *.o crackcheck
|
|
|
|
install: crackcheck
|
|
install -m 555 crackcheck $(PREFIX)/sbin/crackcheck
|
|
|