Files
elog/Makefile
T
2002-01-31 00:48:41 +00:00

29 lines
349 B
Makefile

#
# 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
ifeq ($(OSTYPE),darwin)
CC = cc
endif
all: elogd elog
elog: elog.c
$(CC) -o elog elog.c $(LIBS)
elogd: elogd.c
$(CC) -o elogd elogd.c $(LIBS)