mirror of
https://github.com/reactos/reactos.git
synced 2026-05-25 17:45:16 +08:00
38 lines
873 B
Makefile
38 lines
873 B
Makefile
# $Id: makefile,v 1.24 2001/07/25 06:20:01 ekohl Exp $
|
|
#
|
|
#
|
|
PATH_TO_TOP = ../../..
|
|
|
|
TARGET=ide
|
|
|
|
OBJECTS = $(TARGET).o $(TARGET).coff
|
|
|
|
LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
|
|
|
|
CFLAGS = -D__NTDRIVER__ -I. -g
|
|
|
|
all: $(TARGET).sys.unstripped $(TARGET).sys
|
|
|
|
.phony: all
|
|
|
|
clean:
|
|
- $(RM) *.o *.sym $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(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: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
|
|
|
|
$(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
|
$(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
|
|
|
|
$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
|
|
|
|
WITH_DEBUGGING=yes
|
|
WARNINGS_ARE_ERRORS = yes
|
|
include $(PATH_TO_TOP)/rules.mak
|