6fc5da55745dcd19ace8726643474f9ffdc577ed
[reactos.git] / reactos / drivers / input / keyboard / makefile
1 # $Id: makefile,v 1.5 2001/07/15 21:19:00 rex Exp $
2 #
3 #
4 PATH_TO_TOP = ../../..
5
6 TARGET=keyboard
7
8 OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
9
10 CFLAGS = -D__NTDRIVER__ -O2 -I. -g
11
12 all: $(TARGET).sys $(TARGET).sys.unstripped
13
14 .phony: all
15
16 clean:
17 - $(RM) $(TARGET).o $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped
18
19 .phony: clean
20
21 install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
22
23 $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
24 $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
25
26 dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
27
28 ../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
29 $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
30
31 $(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS)
32
33 WARNINGS_ARE_ERRORS = yes
34 include ../../../rules.mak