Part of bug #11883: Issues with the improved raw Makefiles.

- Provide the missing Windows commands
- Remove TEST_D, because it has no suitable syntactical equivalent on Windows.
   (Just create directories unconditionaly. You will probably notice if there exits a file of the same name...)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5320 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2008-06-24 22:34:56 +00:00
parent 73b35ab8d6
commit 16bd0a829a
2 changed files with 4 additions and 7 deletions

View File

@ -112,11 +112,10 @@ endif
ifeq ($(strip $(PLATFORM)),windows)
DIRSEP:=\\
MV:=???
MV:=move
RM_F:=del /F
RMDIR:=???
MKDIR_P:=???
TEST_D:=???
RMDIR:=rmdir
MKDIR_P:=mkdir
EXEEXT:=.exe
AR:=ar
CC:=gcc
@ -133,7 +132,6 @@ MV:=mv
RM_F:=rm -f
RMDIR:=rmdir
MKDIR_P:=mkdir -p
TEST_D:=test -d
EXEEXT:=.exe
AR:=mingw32-ar
CC:=mingw32-gcc
@ -149,7 +147,6 @@ MV:=mv
RM_F:=rm -f
RMDIR:=rmdir
MKDIR_P:=mkdir -p
TEST_D:=test -d
EXEEXT:=
AR:=ar
CC:=gcc

View File

@ -3,7 +3,7 @@
all clean: $(SUBDIRS)
$(SUBDIRS):
$(TEST_D) $(builddir)/$@ || $(MKDIR_P) $(builddir)/$@
$(MKDIR_P) $(builddir)/$@
$(MAKE) -f $(srcdir)/$@/Makefile.raw -C $(builddir)/$@ $(MAKECMDGOALS)
clean: $(SUBDIRS)