# xuseradd Makefile

CC	= gcc
CFLAGS	= -Wall -O2
#CFLAGS	= -Wall -g
#DEFINES	= -DDEBUG
# uncomment this one if your on a Glibc system.
#LIBS	= -lcrypt
OBJECTS	= xuseradd.c

all:	$(OBJECTS)
	$(CC) $(CFLAGS) $(OBJECTS) -o xuseradd `gtk-config --cflags` `gtk-config --libs` $(DEFINES) $(LIBS)
	strip xuseradd

install:
	cp xuseradd /usr/local/bin/
	chmod 755 /usr/local/bin/xuseradd
