Revision 2207 trunk/contrib/admb-rules.mak

admb-rules.mak (revision 2207)
7 7
endif
8 8

  
9 9
ifeq ($(SHELL),cmd)
10
all: $(addprefix $(CONTRIB_OBJS_DIR)\saflp-contrib-, $(OBJECTS)) $(addprefix $(CONTRIB_OBJS_DIR)\optlp-contrib-, $(OBJECTS))
10
all: $(addprefix $(CONTRIB_OBJS_DIR)-saflp-, $(OBJECTS)) $(addprefix $(CONTRIB_OBJS_DIR)-optlp-, $(OBJECTS))
11 11

  
12
$(CONTRIB_OBJS_DIR)\saflp-contrib-%.obj: %.cpp
12
$(CONTRIB_OBJS_DIR)-saflp-%.obj: %.cpp
13 13
	..\..\admb -c $(OPTION) $<
14 14
	copy $(basename $<).obj $@
15 15

  
16
$(CONTRIB_OBJS_DIR)\optlp-contrib-%.obj: %.cpp
16
$(CONTRIB_OBJS_DIR)-optlp-%.obj: %.cpp
17 17
	..\..\admb -c -f $(OPTION) $<
18 18
	copy $(basename $<).obj $@
19 19
else
20
all: $(addprefix $(CONTRIB_OBJS_DIR)/saflp-contrib-, $(OBJECTS)) $(addprefix $(CONTRIB_OBJS_DIR)/optlp-contrib-, $(OBJECTS))
20
all: $(addprefix $(CONTRIB_OBJS_DIR)-saflp-, $(OBJECTS)) $(addprefix $(CONTRIB_OBJS_DIR)-optlp-, $(OBJECTS))
21 21

  
22
$(CONTRIB_OBJS_DIR)/saflp-contrib-%.obj: %.cpp
22
$(CONTRIB_OBJS_DIR)-saflp-%.obj: %.cpp
23 23
	../../admb$(EXT) -c $(OPTION) $<
24 24
	cp $(basename $<).obj $@
25 25

  
26
$(CONTRIB_OBJS_DIR)/optlp-contrib-%.obj: %.cpp
26
$(CONTRIB_OBJS_DIR)-optlp-%.obj: %.cpp
27 27
	../../admb$(EXT) -c -f $(OPTION) $<
28 28
	cp $(basename $<).obj $@
29 29
endif

Also available in: Unified diff