mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 00:11:35 +00:00
41 lines
854 B
Makefile
41 lines
854 B
Makefile
# $Id: makefile,v 1.2 2000/11/20 19:59:11 ekohl Exp $
|
|
#
|
|
#
|
|
PATH_TO_TOP = ../../..
|
|
|
|
TARGET=keyboard
|
|
|
|
OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
|
|
|
|
CFLAGS = -O2 -I.
|
|
|
|
all: $(TARGET).sys $(TARGET).sys.unstripped
|
|
|
|
.phony: all
|
|
|
|
clean:
|
|
- $(RM) $(TARGET).o
|
|
- $(RM) $(TARGET).coff
|
|
- $(RM) junk.tmp
|
|
- $(RM) base.tmp
|
|
- $(RM) temp.exp
|
|
- $(RM) $(TARGET).sys
|
|
- $(RM) $(TARGET).sys.unstripped
|
|
|
|
.phony: clean
|
|
|
|
install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
|
|
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
|
|
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
|
|
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
|
|
|
$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS)
|
|
|
|
WARNINGS_ARE_ERRORS = yes
|
|
include ../../../rules.mak
|