1 # Makefile for readclock 'driver'
4 # programs, flags, etc.
7 CFLAGS
=-D_MINIX
=1 -D_POSIX_SOURCE
=1 -D_SYSTEM
=1
16 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
19 # install with other drivers
20 install: /sbin
/$(DRIVER
)
21 /sbin
/$(DRIVER
): $(DRIVER
)
22 install -o root
-cs
$?
$@
24 # clean up local files
26 rm -f
$(DRIVER
) *.o
*.bak
29 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
31 # Include generated dependencies.