diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..4fb931e6 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +# +# Simple makefile for elogd +# +# S. Ritt, May 12th 2000 +# +# add "-DUSE_CRYPT" and "-lcrypt" to use crypt() function +# + +CC = gcc +LIBS = + +ifeq ($(OSTYPE),solaris) +CC = gcc +LIBS = -lsocket -lnsl +endif + +all: elogd elog + +elog: elog.c + $(CC) -o elog elog.c $(LIBS) + +elogd: elogd.c + $(CC) -o elogd elogd.c $(LIBS) +