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