source: trunk/ADOL-C/examples/additional_examples/ext_diff_func/Makefile.win @ 42

Last change on this file since 42 was 42, checked in by awalther, 10 years ago

set svn keywords property

  • Property svn:keywords set to Author Date Id Revision
File size: 953 bytes
Line 
1include ../../../winflags_exa
2SUFFIXES=.obj .cpp .exe
3
4EXECS=ext_diff_func.exe
5
6%myclock.obj:
7        @make -f Makefile.win -C ..\clock
8
9%adolc.lib:
10        @if exist ..\..\..\adolc\adolc.dll del ..\..\..\adolc\adolc.dll
11        @make -f Makefile.win -C ..\..\..\adolc adolc.dll
12
13%.exe: %.obj
14        @echo LD  $@
15        @echo. >> error_out
16        @echo LD  $@ >> error_out
17        @$(LD) $(LDFLAGS) -out:$@ $^ >> error_out
18
19%.obj: %.cpp
20        @echo CXX $<
21        @echo. >> error_out
22        @echo CXX $< >> error_out
23        @${CXX} ${CXXFLAGS} $< >> error_out
24
25all: $(EXECS)
26        @echo. >> error_out
27        @echo "Getting DLL" >> error_out
28        @if exist ..\..\..\adolc\adolc.dll copy ..\..\..\adolc\adolc.dll . >> error_out
29
30ext_diff_func.obj: ext_diff_func.cpp Makefile.win
31
32ext_diff_func.exe: ext_diff_func.obj  ..\..\..\adolc\adolc.lib
33
34clean:
35        @if exist *.obj del *.obj
36        @for %%n in ($(EXECS)) do\
37         if exist %%n del %%n
38        @if exist error_out del error_out
39        @if exist adolc.dll del adolc.dll
40
Note: See TracBrowser for help on using the repository browser.