# Generated automatically from Makefile.in by configure.
#
# Makefile for apcupsd examples directory
#

srcdir = .

INSTALL_PROGRAM = ${INSTALL}
# Generic install program.
INSTALL = /usr/bin/install -c


# Some makes apparently use .PHONY as the default goal if it is before `all'.
.PHONY: all

SHELL = /bin/sh
MAKE = make

hid-ups: hid-ups.c
	cc  hid-ups.c -o hid-ups

client:  client.c
	cc client.c ../lib/libapc.a -o client
	cp client gui/

megaclient:  megaclient.c
	cc megaclient.c ../lib/libapc.a -o megaclient


newslave: newslave.c
	cc newslave.c ../lib/libapc.a -o newslave

upsapm: upsapm.c
	cc upsapm.c ../lib/libapc.a -o upsapm

clean:
	rm -f core core.* 1 2 3 *.o hid-ups client readfifo newslave upsapm

distclean:
	rm -f safe.apccontrol
