Revision 1450 trunk/contrib/qfclib/Makefile

Makefile (revision 1450)
1
.PHONY: all
2
.SUFFIXES: .obj .cpp
3

  
4 1
include objects.lst
5 2

  
6
all: $(OBJECTS)
7
	copy ..\..\..\..\contrib\qfclib\qfclib.h $(DISKDIR)
3
OPT=$(OBJECTS: = ..\..\..\build\objects\contrib\optlp-contrib-qfclib-)
4
SAF=$(OBJECTS: = ..\..\..\build\objects\contrib\saflp-contrib-qfclib-)
8 5

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

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

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

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

  
9 19
clean:
10

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

Also available in: Unified diff