fixed 'make all' and added some missing clean:: rules
Modified: branches/xmlbuildsystem/reactos/Makefile
Modified: branches/xmlbuildsystem/reactos/tools/Makefile
Modified: branches/xmlbuildsystem/reactos/tools/nci/makefile
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/makefile
Modified: branches/xmlbuildsystem/reactos/tools/wmc/makefile
_____
Modified: branches/xmlbuildsystem/reactos/Makefile
--- branches/xmlbuildsystem/reactos/Makefile 2005-02-25 19:38:11 UTC
(rev 13742)
+++ branches/xmlbuildsystem/reactos/Makefile 2005-02-25 20:00:27 UTC
(rev 13743)
@@ -4,15 +4,17 @@
host_gcc = gcc
host_gpp = g++
nmkdir = mkdir -p
+ rm = rm
else # mingw32-windows
EXEPOSTFIX = .exe
SEP = \$(EMPTY_VAR)
host_gcc = gcc
host_gpp = g++
nmkdir = mkdir
+ rm = del /f /q
endif
-default: Makefile.auto
+all: Makefile.auto
ifneq ($(ROS_INTERMEDIATE),)
$(ROS_INTERMEDIATE)tools: $(ROS_INTERMEDIATE)
@@ -46,3 +48,6 @@
include$(SEP)reactos$(SEP)errcodes.h
lib$(SEP)kernel32$(SEP)errcodes.rc: $(WMC_TARGET)
lib$(SEP)kernel32$(SEP)kernel32.mc
$(WMC_TARGET) -H include$(SEP)reactos$(SEP)errcodes.h -o
lib$(SEP)kernel32$(SEP)errcodes.rc lib$(SEP)kernel32$(SEP)kernel32.mc
+
+clean::
+ -@$(rm) Makefile.auto $(PREAUTO)
_____
Modified: branches/xmlbuildsystem/reactos/tools/Makefile
--- branches/xmlbuildsystem/reactos/tools/Makefile 2005-02-25
19:38:11 UTC (rev 13742)
+++ branches/xmlbuildsystem/reactos/tools/Makefile 2005-02-25
20:00:27 UTC (rev 13743)
@@ -19,8 +19,11 @@
$(RMKDIR_OBJECTS): %.o : %.c
${host_gcc} $(RMKDIR_HOST_CFLAGS) -c $< -o $@
+clean::
+ -@$(rm) $(RMKDIR_TARGET) $(RMKDIR_OBJECTS) 2>$(NUL)
+
BUILDNO_BASE = tools
BUILDNO_TARGET = \
@@ -42,6 +45,9 @@
$(BUILDNO_OBJECTS): %.o : %.c
${host_gcc} $(BUILDNO_HOST_CFLAGS) -c $< -o $@
+clean::
+ -@$(rm) $(BUILDNO_TARGET) $(BUILDNO_OBJECTS) 2>$(NUL)
+
include$(SEP)reactos$(SEP)buildno.h: $(BUILDNO_TARGET)
$(EXEPREFIX)$(BUILDNO_TARGET)
include$(SEP)reactos$(SEP)buildno.h
_____
Modified: branches/xmlbuildsystem/reactos/tools/nci/makefile
--- branches/xmlbuildsystem/reactos/tools/nci/makefile 2005-02-25
19:38:11 UTC (rev 13742)
+++ branches/xmlbuildsystem/reactos/tools/nci/makefile 2005-02-25
20:00:27 UTC (rev 13743)
@@ -19,6 +19,9 @@
$(NCI_OBJECTS): %.o : %.c
${host_gcc} $(NCI_HOST_CFLAGS) -c $< -o $@
+clean::
+ -@$(rm) $(NCI_TARGET) $(NCI_OBJECTS) 2>$(NUL)
+
# WIN32K.SYS
WIN32K_SVC_DB = $(NCI_BASE)$(SEP)w32ksvc.db
WIN32K_SERVICE_TABLE = subsys$(SEP)win32k$(SEP)main$(SEP)svctab.c
@@ -49,3 +52,6 @@
$(KERNEL_STUBS) \
$(WIN32K_GDI_STUBS) \
$(WIN32K_USER_STUBS)
+
+clean::
+ -@$(rm) $(NCI_SERVICE_FILES) 2>$(NUL)
_____
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/makefile
--- branches/xmlbuildsystem/reactos/tools/rbuild/makefile
2005-02-25 19:38:11 UTC (rev 13742)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/makefile
2005-02-25 20:00:27 UTC (rev 13743)
@@ -100,3 +100,6 @@
rbuild_test: $(RBUILD_TEST_TARGET)
$(RBUILD_TEST_TARGET)
+
+clean::
+ -@$(rm) $(RBUILD_TARGET) $(RBUILD_OBJECTS) $(RBUILD_TEST_TARGET)
$(RBUILD_TEST_OBJECTS) 2>$(NUL)
_____
Modified: branches/xmlbuildsystem/reactos/tools/wmc/makefile
--- branches/xmlbuildsystem/reactos/tools/wmc/makefile 2005-02-25
19:38:11 UTC (rev 13742)
+++ branches/xmlbuildsystem/reactos/tools/wmc/makefile 2005-02-25
20:00:27 UTC (rev 13743)
@@ -25,3 +25,6 @@
$(WMC_OBJECTS): %.o : %.c
${host_gcc} $(WMC_HOST_CXXFLAGS) -c $< -o $@
+
+clean::
+ -@$(rm) $(WMC_TARGET) $(WMC_OBJECTS) 2>$(NUL)
Show replies by date