1 # Makefile for log driver
11 # programs, flags, etc.
14 CFLAGS
= -I
$i $(CPROFILE
)
15 LDFLAGS
= -i
-L..
/libdriver_asyn
17 LIB_DEP
= ..
/libdriver_asyn
/libdriver.a
23 $(DRIVER
): $(OBJ
) $(LIB_DEP
)
24 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
25 install -S
32kb
$(DRIVER
)
27 # install with other drivers
29 install -o root
-cs
$< /sbin
/$(DRIVER
)
31 # clean up local files
33 rm -f
$(DRIVER
) *.o
*.bak
37 mkdep
"$(CC) -E $(CPPFLAGS)" *.c ..
/libdriver
/*.c
> .depend
39 # Include generated dependencies.