3
# Network UPS Tools: models/genmb
5
# This is a hack to create a bunch of identical rules for building
6
# the drivers without relying on either the % patterns of GNU Make or the
7
# for...endfor of BSD Make. They're both neat, but they're also not
11
MFMB=Makefile.modelbuild
16
# Network UPS Tools: models/$MFMB
18
# WARNING: This file is generated by the genmb script. Any changes
19
# to this file will be erased the next time it runs!
25
echo "$i: $i.o main.o upscommon.o ../include/shared.h ../include/shared-tables.h ../common/upsconf.o ../common/parseconf.o \$(LIBDEP)" >> $MFMB
26
echo " \$(CC) \$(CFLAGS) -o $i $i.o main.o upscommon.o ../common/upsconf.o ../common/parseconf.o \$(LIBOBJ)" >> $MFMB