Added symbol __NTDRIVER__ to identify drivers.
[reactos.git] / reactos / drivers / dd / blue / makefile
1 # $Id: makefile,v 1.16 2001/06/22 12:23:56 ekohl Exp $
2 #
3 #
4 PATH_TO_TOP = ../../..
5
6 TARGET = blue
7
8 CFLAGS = -D__NTDRIVER__ -I../../../include
9
10 OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
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) blue.sys
23 - $(RM) blue.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