move work on clean rule
[reactos.git] / reactos / drivers / dd / beep / makefile
1 # $Id: makefile,v 1.11 2001/07/15 21:18:57 rex Exp $
2 #
3 #
4 PATH_TO_TOP = ../../..
5
6 TARGET = beep
7
8 CFLAGS = -D__NTDRIVER__ -I../../../include
9
10 OBJECTS = beep.o beep.coff ../../../ntoskrnl/ntoskrnl.a
11
12 all: $(TARGET).sys $(TARGET).sys.unstripped
13
14 .PHONY: all
15
16 clean:
17 - $(RM) beep.o beep.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