1 # Makefile for terminal driver (TTY)
14 # programs, flags, etc.
17 CPPFLAGS
= -I..
/..
/kernel
/arch
/$(ARCH
)/include -I
$i
22 OBJ
= tty.o console.o keyboard.o pty.o rs232.o
27 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
28 install -S
16k
$(DRIVER
)
30 # install with other drivers
32 cd keymaps
&& $(MAKE
) -$(MAKEFLAGS
) install
34 #/sbin/$(DRIVER): $(DRIVER)
35 # install -o root -cs $? $@
37 # clean up local files
39 cd keymaps
&& $(MAKE
) -$(MAKEFLAGS
) $@
40 rm -f
$(DRIVER
) *.o
*.bak
43 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
45 # Include generated dependencies.