CC		= gcc

CDEBUG		= 
INCL		= -I../include -I/usr/local/include `gtk12-config --cflags`
CFLAGS		= ${CDEBUG} ${INCL} -ansi -Wall
LDFLAGS		= -static
LIBDIR		= `gtk12-config --libs`
LOCLIBS		= 
SSLLIBS		= -lssl -lcrypto -liconv
OBJS		= 
SRCS		= ntpwatch.c
LIBSRCS		= 
ISRCS		= 
ALLSRCS		= ${SRCS} ${ISRCS} ${LIBSRCS}


all: ntpwatch

ntpwatch: ntpwatch.c
	   ${CC} ${CDEBUG} ${CFLAGS} ${LDFLAGS} -o ntpwatch ntpwatch.c ${LIBDIR} ${SSLLIBS}

install:
	install -c -s -o bin -g bin -m 555 ntpwatch /usr/local/bin
clean:
	rm -f *~ *.o *.BAK *.bak *.CKP core a.out
	rm -f ntpwatch

depend: 
	mkdep ${INCL} ${SRCS} ${LIBSRCS}

# DO NOT DELETE

