CC=gcc
CFLAGS=-Wall -O2 -g -D_FILE_OFFSET_BITS=64

# Solaris?
#CFLAGS=$(CFLAGS) -mcpu=v9 -m64
#LDFLAGS=-lnsl -lsocket -lresolv 

all: utftpd

utftpd: utftpd.c
	$(CC) $(CFLAGS) $(LDFLAGS) -o utftpd utftpd.c

clean:
	rm -f *.o utftpd
