From f5c8f9fdabc328c413487c3b5ea1092603d15eff Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 13 May 2000 17:34:15 +0000 Subject: [PATCH] Added FLOPPY and DIST targets svn path=/trunk/; revision=1154 --- reactos/drivers/fs/minix/makefile_rex | 28 +++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/reactos/drivers/fs/minix/makefile_rex b/reactos/drivers/fs/minix/makefile_rex index 3a889519694..705dd3526bb 100644 --- a/reactos/drivers/fs/minix/makefile_rex +++ b/reactos/drivers/fs/minix/makefile_rex @@ -1,4 +1,4 @@ -# $Id: makefile_rex,v 1.8 2000/04/01 14:19:48 ea Exp $ +# $Id: makefile_rex,v 1.9 2000/05/13 17:34:15 ekohl Exp $ # # Minix IFS Driver makefile # @@ -14,13 +14,7 @@ OBJECTS = block.o rw.o inode.o dir.o mount.o blockdev.o cache.o \ .phony: all clean: - - $(RM) minix.o - - $(RM) rw.o - - $(RM) inode.o - - $(RM) dir.o - - $(RM) mount.o - - $(RM) block.o - - $(RM) blockdev.o + - $(RM) *.o - $(RM) junk.tmp - $(RM) base.tmp - $(RM) temp.exp @@ -60,6 +54,24 @@ minixfs.sys: $(OBJECTS) minix.coff: ../../../include/reactos/buildno.h minix.rc +floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys + +$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys +ifeq ($(DOSCLI),yes) + $(CP) $(TARGETNAME).sys $(FLOPPY_DIR)\drivers\$(TARGETNAME).sys +else + $(CP) $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys +endif + +dist: ../../../$(DIST_DIR)/drivers/$(TARGETNAME).sys + +../../../$(DIST_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys +ifeq ($(DOSCLI),yes) + $(CP) $(TARGETNAME).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGETNAME).sys +else + $(CP) $(TARGETNAME).sys ../../../$(DIST_DIR)/drivers/$(TARGETNAME).sys +endif + WIN32_LEAN_AND_MEAN = yes WARNINGS_ARE_ERRORS = yes include ../../../rules.mak