include config.$(config)
CFLAGS = $(XFLAGS) -Dunix  

SOURCE=	nwauth.o   \
	fcrypt.o    \
	flock.o      \
	ld_sha.o      

nwauth:   $(SOURCE)
	$(CC) -o nwauth $(SOURCE) $(CFLAGS) $(LIBS)
	cp nwauth nwauth.exe
	

clean:
	rm -f *.o
	rm -f nwauth
	rm -f nwauth.exe
	$(MAKE) nwauth config=$(config)

