Revision 1450 trunk/contrib/statslib/Makefile

Makefile (revision 1450)
1 1
include objects.lst
2 2

  
3
all: $(OBJECTS)
4
	copy ..\..\..\contrib\statslib\statsLib.h $(DISKDIR)
3
OPT=$(OBJECTS: = ..\..\..\build\objects\contrib\optlp-contrib-statslib-)
4
SAF=$(OBJECTS: = ..\..\..\build\objects\contrib\saflp-contrib-statslib-)
5 5

  
6
all: $(OPT) $(SAF)
7

  
8
$(OPT):: $(@B:optlp-contrib-statslib-=).cpp
9
	..\..\..\admb -c -f $?
10
	copy $(?:.cpp=.obj) $@
11

  
12
$(SAF):: $(@B:saflp-contrib-statslib-=).cpp
13
	..\..\..\admb -c $?
14
	copy $(?:.cpp=.obj) $@
15

  
16
includes: $(HEADERS)
17
	copy $(HEADERS) $(CONTRIB_INCLUDE)
18

  
6 19
clean:
7

  
8
{..\..\..\contrib\statslib}.cpp.obj:
9
	$(CXX) -c $(CXXFLAGS) -I"..\..\dist\include" $<
20
	del /Q $(OBJECTS)

Also available in: Unified diff