RMKDIR_OBJECTS = \
$(RMKDIR_SOURCES:.c=.o)
-RMKDIR_HOST_CXXFLAGS = -g -Werror -Wall
+RMKDIR_HOST_CFLAGS = -g -Werror -Wall
RMKDIR_HOST_LFLAGS = -g
${host_gcc} $(RMKDIR_OBJECTS) $(RMKDIR_HOST_LFLAGS) -o $(RMKDIR_TARGET)
$(RMKDIR_OBJECTS): %.o : %.c
- ${host_gcc} $(RMKDIR_HOST_CXXFLAGS) -c $< -o $@
+ ${host_gcc} $(RMKDIR_HOST_CFLAGS) -c $< -o $@
-.PHONY: rmkdir
+.PHONY: rmkdir_clean
+rmkdir_clean:
+ -@$(rm) $(RMKDIR_TARGET) $(RMKDIR_OBJECTS) 2>$(NUL)
+clean: rmkdir_clean
-rmkdir: $(RMKDIR_TARGET)
- -
+RSYM_BASE = tools
+RSYM_TARGET = \
+ $(ROS_INTERMEDIATE)$(RSYM_BASE)$(SEP)rsym$(EXEPOSTFIX)
-BUILDNO_BASE = tools
+RSYM_SOURCES = \
+ $(RSYM_BASE)$(SEP)rsym.c
-BUILDNO_TARGET = \
- $(ROS_INTERMEDIATE)$(BUILDNO_BASE)$(SEP)buildno$(EXEPOSTFIX)
+RSYM_OBJECTS = \
+ $(RSYM_SOURCES:.c=.o)
-BUILDNO_SOURCES = \
- $(BUILDNO_BASE)$(SEP)buildno.c
+RSYM_HOST_CFLAGS = -g -Werror -Wall
-BUILDNO_OBJECTS = \
- $(BUILDNO_SOURCES:.c=.o)
+RSYM_HOST_LFLAGS = -g
-BUILDNO_HOST_CXXFLAGS = -g -Werror -Wall
+$(RSYM_TARGET): $(RSYM_OBJECTS)
+ ${host_gcc} $(RSYM_OBJECTS) $(RSYM_HOST_LFLAGS) -o $(RSYM_TARGET)
-BUILDNO_HOST_LFLAGS = -g
+$(RSYM_OBJECTS): %.o : %.c
+ ${host_gcc} $(RSYM_HOST_CFLAGS) -c $< -o $@
-$(BUILDNO_TARGET): $(BUILDNO_OBJECTS)
- ${host_gcc} $(BUILDNO_OBJECTS) $(BUILDNO_HOST_LFLAGS) -o $(BUILDNO_TARGET)
-
-$(BUILDNO_OBJECTS): %.o : %.c
- ${host_gcc} $(BUILDNO_HOST_CXXFLAGS) -c $< -o $@
-
-include$(SEP)reactos$(SEP)buildno.h: $(BUILDNO_TARGET)
- $(EXEPREFIX)$(BUILDNO_TARGET) include$(SEP)reactos$(SEP)buildno.h
-
-.PHONY: buildno
-
-buildno: $(BUILDNO_TARGET)
+.PHONY: rsym_clean
+rsym_clean:
+ -@$(rm) $(RSYM_TARGET) $(RSYM_OBJECTS) 2>$(NUL)
+clean: rsym_clean
+include tools/buildno/makefile
+include tools/cdmake/makefile
+include tools/nci/makefile
+include tools/rbuild/makefile
+include tools/unicode/makefile
include tools/wmc/makefile
+include tools/wpp/makefile
+include tools/wrc/makefile