# -----------------------------------------------------------------------
# Makefile for pwtest on eisfair
#
# Creation   : 2011-06-05 hb
# Last Update: $Id$
#
# Copyright (c) 2011 Holger Bruenjes, holgerbruenjes(at)gmx(dot)net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# ----------------------------------------------------------------------

CC=gcc
CFLAGS += -Wall -Wstrict-prototypes


all: pwtest


pwtest: pwtest.o
	$(CC) -o $@ $^ -lcrack

pwtest.o: pwtest.c

install: pwtest
	strip -R .note -R .comment pwtest

clean :
	rm *.o
	rm pwtest