From d1fb987f65475a4510825a670ad8146dcd083357 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 21 Dec 2001 15:34:31 +0000 Subject: [PATCH] Initial revision SVN revision: 9 --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile 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) +