# Makefile, Copyright (c) 1998 by Lukas Ruf, # Swiss Federal Institute of Technology, # Computer Engineering and Networks Laboratory. # # TOPSY -- A Teachable Operating System. # Implementation of a tiny and simple # micro kernel for teaching purposes. # # For further information, please visit http://www.tik.ee.ethz.ch/~topsy # # This software is provided under the terms of the GNU General Public Licence. # A full copy of the GNU GPL is provided in the file COPYING found in the # development root of Topsy. # # This copyright notice supercedes all originally or previously used # copyrights being used within the source code. # # Author: Lukas Ruf, lr@lpr.ch # INCDIR = ../ToolLib Keyboard: Keyboard.c $(INCDIR)/TextRead.cpp $(INCDIR)/TextRead.hpp gcc -x c++ -O3 -I$(INCDIR) -o $@ Keyboard.c $(INCDIR)/TextRead.cpp install: Keyboard # note: only hw translation is required Keyboard MakeKey.TBL HW /true mv KeyTable.S HWKeyTable.S cp HWKeyTable.S ../../Topsy/IO/ia32/Drivers/ # both tables are required Keyboard KeybSG.TBL KeyCode mv KeyTable.S KeyCodeTable.S cp KeyCodeTable.S ../../Topsy/IO/ia32/Drivers/ clean: -rm Keyboard -rm KeyCodeTable.S HWKeyTable.S