UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / examples / Makefile
blob87f97777e395f1efa44333c7eb6f69a88955cd8b
1 topdir:=..
3 SUBDIRS =
4 include $(topdir)/autoconf/targets.mak
6 TARGETS = hid-ups hid-set client megaclient newslave upsapm \
7 smartsim snoopdecode
9 SRCS = $(foreach target,$(TARGETS),$(target).c)
11 all-targets: client megaclient newslave upsapm smartsim snoopdecode
13 $(TARGETS): %: $(call SRC2OBJ,%.c) $(APCLIBS)
14 $(LINK)
16 # Include dependencies
17 -include $(DEPS)