# You must uncomment the following line to install an skey-aware version
# of the login program that accompanies util-linux-2.2.  Do not do this
# if you have shadow passwords or if you don't know what that means.
# Warning: the login subdirectory, if enabled, ignores the prefix since
# there is no point to putting login anywhere other than /bin.

#LOGIN = login

CC = gcc
CFLAGS = -O2
LDFLAGS =
prefix = /usr

SUBDIRS = libskey libmd keyinit key keyinfo $(LOGIN)

default: all

.DEFAULT:
	for i in $(SUBDIRS); do (cd $$i && $(MAKE) \
		CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
		prefix="$(prefix)" $<); done
