diff --git a/reactos/proxy.mak b/reactos/proxy.mak new file mode 100644 index 00000000000..783b42129ae --- /dev/null +++ b/reactos/proxy.mak @@ -0,0 +1,10 @@ +MAKEFLAGS += --no-print-directory --silent + +$(DEFAULT): + @$(MAKE) -C $(TOP) $(DEFAULT) + +all: + @$(MAKE) -C $(TOP) all + +clean: + @$(MAKE) -C $(TOP) $(DEFAULT)_clean diff --git a/reactos/tools/cabman/makefile b/reactos/tools/cabman/makefile index 3761209d826..46936b636dc 100755 --- a/reactos/tools/cabman/makefile +++ b/reactos/tools/cabman/makefile @@ -1,49 +1,3 @@ -# -# ReactOS Cabinet Manager -# -PATH_TO_TOP = ../.. - -TARGET=cabman$(EXE_POSTFIX) - -all: $(TARGET) - -OBJECTS = cabinet.o mszip.o raw.o main.o dfp.o - -CLEAN_FILES = *.o cabman$(EXE_POSTFIX) - -HOST_CFLAGS = -g -I. -I$(PATH_TO_TOP)/lib/zlib -I$(W32API_PATH)/include -Werror -Wall - -HOST_LFLAGS = -g $(PATH_TO_TOP)/lib/zlib/zlib.host.a - -cabinet.o: cabinet.cxx - $(HOST_CXX) $(HOST_CFLAGS) -c cabinet.cxx -o cabinet.o - -mszip.o: mszip.cxx - $(HOST_CXX) $(HOST_CFLAGS) -c mszip.cxx -o mszip.o - -raw.o: raw.cxx - $(HOST_CXX) $(HOST_CFLAGS) -c raw.cxx -o raw.o - -main.o: main.cxx - $(HOST_CXX) $(HOST_CFLAGS) -c main.cxx -o main.o - -dfp.o: dfp.cxx - $(HOST_CXX) $(HOST_CFLAGS) -c dfp.cxx -o dfp.o - -cabman$(EXE_POSTFIX): $(OBJECTS) - $(HOST_CXX) $(OBJECTS) $(HOST_LFLAGS) -o cabman$(EXE_POSTFIX) - -ifeq ($(HOST),mingw32-linux) -clean: - rm -f *.o - rm -f cabman$(EXE_POSTFIX) -endif -ifeq ($(HOST),mingw32-windows) -clean: - -del *.o - -del cabman$(EXE_POSTFIX) -endif - -.phony: clean - -include $(PATH_TO_TOP)/rules.mak +TOP = ../.. +DEFAULT = cabman +include $(TOP)/proxy.mak \ No newline at end of file