# Makefile 
# Make the elogger program, that makes reports for the Midas Elog server.
#
# RLV 28 Dec 2017
#
#
OPT=-g
BINS= elogger

INSTALLERS = install

CFLAGS = $(OPT) $(CARGS)
FFLAGS = $(OPT) $(FARGS)

INCS = 

# This is the master install target.  
all: $(BINS)

#
######elogger
elogger: elogger.c sendelog.o 
	cc $(CFLAGS) -o elogger elogger.c sendelog.o 

install: elogger
	install -o $(INSTALL_USER) -g $(INSTALL_GROUP) elogger $(bindir)
#
#########Clean up targets

clean: 
	rm -f *.o
	rm -f elogger 

.PHONY: clean
