use rdel instead of rm in Explorer Makefile

svn path=/trunk/; revision=6606
This commit is contained in:
Martin Fuchs 2003-11-10 19:29:24 +00:00
parent 6e978c3db1
commit 5b827d7354
3 changed files with 11 additions and 9 deletions

View file

@ -8,6 +8,8 @@ CC = gcc
CXX = g++ CXX = g++
LINK = g++ LINK = g++
TOOLS_PATH = ../../../tools
CFLAGS = -DWIN32 -D_ROS_ -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501 -fexceptions -Wall CFLAGS = -DWIN32 -D_ROS_ -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501 -fexceptions -Wall
RCFLAGS = -DWIN32 -D_ROS_ RCFLAGS = -DWIN32 -D_ROS_
LFLAGS = -Wl,--subsystem,windows LFLAGS = -Wl,--subsystem,windows
@ -91,5 +93,5 @@ explorer$(RES_SUFFIX): $(PROGRAM)_intres.rc
windres $(RCFLAGS) -o $@ $^ windres $(RCFLAGS) -o $@ $^
clean: clean:
rm -f $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX) $(TOOLS_PATH)/rdel $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX)

View file

@ -1,7 +1,7 @@
/* $Id: rdel.c,v 1.1 2001/08/21 20:13:17 chorns Exp $ /* $Id: rdel.c,v 1.2 2003/11/10 19:29:24 mf Exp $
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com) * PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com)
* PURPOSE: Platform independant delete command * PURPOSE: Platform independent delete command
*/ */
#include <dirent.h> #include <dirent.h>
@ -24,6 +24,7 @@ convertPath (char * pathToConvert)
} }
} }
#if 0
void void
getDirectory (const char *filename, char * directorySpec) getDirectory (const char *filename, char * directorySpec)
{ {
@ -40,6 +41,7 @@ getDirectory (const char *filename, char * directorySpec)
strcpy (directorySpec, "."); strcpy (directorySpec, ".");
} }
} }
#endif
void void
getFilename (const char *filename, char * fileSpec) getFilename (const char *filename, char * fileSpec)
@ -87,5 +89,3 @@ main (int argc, char* argv[])
return 0; return 0;
} }

View file

@ -1,8 +1,8 @@
/* $Id: rrmdir.c,v 1.1 2001/08/21 20:13:17 chorns Exp $ /* $Id: rrmdir.c,v 1.2 2003/11/10 19:29:24 mf Exp $
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com) * PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com)
* Casper S. Hornstrup (chorns@users.sourceforge.net) * Casper S. Hornstrup (chorns@users.sourceforge.net)
* PURPOSE: Platform independant remove directory command * PURPOSE: Platform independent remove directory command
*/ */
#include <dirent.h> #include <dirent.h>
@ -25,6 +25,7 @@ convertPath (char * pathToConvert)
} }
} }
#if 0
void void
getDirectory (const char *filename, char * directorySpec) getDirectory (const char *filename, char * directorySpec)
{ {
@ -54,6 +55,7 @@ getFilename (const char *filename, char * fileSpec)
strcpy (fileSpec, filename); strcpy (fileSpec, filename);
} }
} }
#endif
int int
main (int argc, char* argv[]) main (int argc, char* argv[])
@ -88,5 +90,3 @@ main (int argc, char* argv[])
return 0; return 0;
} }