diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-21 08:08:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-21 08:08:53 +0200 |
commit | 4960bf9dcfa58bb18c90d69351d21223f47604c9 (patch) | |
tree | 55549ca9d0dc8c16b7826461eb36668d5551676b /dist/libxsde | |
parent | 45acf3694bc4d111fc27310e64a3f9b2866f4822 (diff) |
Add gen and cleanobj targets to libxsde and root makefiles
Diffstat (limited to 'dist/libxsde')
-rw-r--r-- | dist/libxsde/nmakefile | 2 | ||||
-rw-r--r-- | dist/libxsde/xsde/makefile | 12 | ||||
-rw-r--r-- | dist/libxsde/xsde/nmakefile | 10 |
3 files changed, 20 insertions, 4 deletions
diff --git a/dist/libxsde/nmakefile b/dist/libxsde/nmakefile index 9ecb241..aad7031 100644 --- a/dist/libxsde/nmakefile +++ b/dist/libxsde/nmakefile @@ -4,6 +4,6 @@ all: @for %i in ( $(dirs) ) do \ @cmd /c "cd %i & $(MAKE) /nologo /f nmakefile" -test clean: +gen test clean cleanobj: @for %i in ( $(dirs) ) do \ @cmd /c "cd %i & $(MAKE) /nologo /f nmakefile $@" diff --git a/dist/libxsde/xsde/makefile b/dist/libxsde/xsde/makefile index 90f2252..9abff7a 100644 --- a/dist/libxsde/xsde/makefile +++ b/dist/libxsde/xsde/makefile @@ -562,6 +562,12 @@ endif @echo $(h)endif >>$@ +# Generated. +# +.PHONY: gen +gen: + + # Test. # .PHONY: test @@ -570,6 +576,8 @@ test: libxsde.a # Clean. # -.PHONY: clean -clean: +.PHONY: clean cleanobj +cleanobj: rm -f libxsde.a $(obj) config.h + +clean: cleanobj diff --git a/dist/libxsde/xsde/nmakefile b/dist/libxsde/xsde/nmakefile index 8eac019..dd806f7 100644 --- a/dist/libxsde/xsde/nmakefile +++ b/dist/libxsde/xsde/nmakefile @@ -557,6 +557,12 @@ config.h: !endif @echo #endif >>$@ + +# Generated. +# +gen: + + # Test. # test: xsde.lib @@ -566,7 +572,7 @@ test: xsde.lib # Nmake that comes with eVC++ 4 cannot handle del $(obj) # because the resulting line is too long. # -clean: +cleanobj: -del xsde.lib config.h -del c\expat\*.obj -del c\genx\*.obj @@ -585,3 +591,5 @@ clean: !else -del cxx\serializer\non-validating\*.obj !endif + +clean: cleanobj |