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