File: Makefile

package info (click to toggle)
apcupsd 3.14.14-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,904 kB
  • sloc: ansic: 24,826; cpp: 9,230; sh: 4,484; makefile: 1,200; tcl: 368; objc: 317; php: 107
file content (18 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
topdir:=..

SUBDIRS = 
include $(topdir)/autoconf/targets.mak

TARGETS = hid-ups hid-set client megaclient newslave upsapm \
          smartsim snoopdecode

SRCS = $(foreach target,$(TARGETS),$(target).c)

all-targets: client megaclient newslave upsapm smartsim snoopdecode

$(TARGETS): %: $(call SRC2OBJ,%.c) $(APCLIBS)
	$(LINK)

# Include dependencies
-include $(DEPS)