1 # Makefile for the AT disk driver (AT_WINI)
13 # programs, flags, etc.
16 CFLAGS
= -I
$i $(CPROFILE
)
17 LDFLAGS
= -i
-L..
/libdriver
18 LIBS
= -lsysutil
-lsys
-ltimers
-ldriver
26 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
27 install -S
32k
$(DRIVER
)
29 # install with other drivers
30 install: /sbin
/$(DRIVER
)
31 /sbin
/$(DRIVER
): $(DRIVER
)
32 install -o root
-cs
$?
$@
34 # clean up local files
36 rm -f
$(DRIVER
) *.o
*.bak
39 mkdep
"$(CC) -E $(CPPFLAGS)" *.c ..
/libdriver
/*.c
> .depend
41 # Include generated dependencies.