1 # Makefile for filter driver
4 # programs, flags, etc.
6 CFLAGS
= -I..
-DDEBUG
=1 -DDEBUG2
=0
10 OBJ
= main.o sum.o driver.o util.o optset.o crc.o md5.o
15 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
17 # install with other drivers
18 install: /usr
/sbin
/$(DRIVER
)
19 /usr
/sbin
/$(DRIVER
): $(DRIVER
)
20 install -o root
-c
$?
$@
22 # clean up local files
24 rm -f
*.o
*.bak
$(DRIVER
)
27 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend