Makefile.windows 1.28 KB
Newer Older
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
# Makefile for Microsoft Visual C++ 

include Makefile.config

MAKE = nmake /NOLOGO
TMAKE = ..\tmake\bin\tmake

all: 
	@echo "                                    
	@echo " Select one of the following targets:  "
	@echo "                                       "
	@echo " win32-msvc                            "
	@echo "                                       "
	@echo " Make any of them to build Doxygen.    "
	@echo " Make will now abort with an error.    "  
	@exit 1

win32-msvc: src\version.cpp
	cd src
	$(MAKE) tmake TMAKE=$(TMAKE) PERL=$(PERL)
	$(MAKE) MAKE=$(MAKE) 

clean: FORCE
	cd examples
	$(MAKE) -f Makefile.windows clean
	cd ..
	-del  src\scanner.cpp 
	-del	src\code.cpp 
	-del	src\config.cpp 
	-del	src\pre.cpp 
	-del	src\tag.cpp 
	-del	src\constexp.lex.cpp 
	-del	src\constexp.parse.cpp 
	-del	src\constexp.parse.h 
	-del	src\doxytag.cpp 
	-del	src\declinfo.cpp 
	-del	src\defargs.cpp 
	-del	src\Makefile.doxygen 
	-del	src\Makefile.doxytag 
	-del	src\Makefile.doxysearch
	-del    src\version.cpp
	-del  bin\doxy*.*
	-del  objects\*.obj

examples: FORCE
	cd examples 
	$(MAKE) -f Makefile.windows
	cd ..

docs: examples 
	@echo Docs cannot be made using windows yet.
	@echo Get them from the binary distribution...	

src\version.cpp:
	echo char versionString[]="$(VERSION)"; >src\version.cpp

FORCE: