Added missing .cvsignore files.
[reactos.git] / reactos / drivers / dd / ide / makefile
1 # $Id: makefile,v 1.24 2001/07/25 06:20:01 ekohl Exp $
2 #
3 #
4 PATH_TO_TOP = ../../..
5
6 TARGET=ide
7
8 OBJECTS = $(TARGET).o $(TARGET).coff
9
10 LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
11
12 CFLAGS = -D__NTDRIVER__ -I. -g
13
14 all: $(TARGET).sys.unstripped $(TARGET).sys
15
16 .phony: all
17
18 clean:
19 - $(RM) *.o *.sym $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped
20
21 .phony: clean
22
23 install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
24
25 $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
26 $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
27
28 dist: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
29
30 $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
31 $(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
32
33 $(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
34
35 WITH_DEBUGGING=yes
36 WARNINGS_ARE_ERRORS = yes
37 include $(PATH_TO_TOP)/rules.mak