5232
|
1 # |
|
2 # Makefile for octave's scripts/optimization directory |
|
3 # |
|
4 # John W. Eaton |
|
5 # jwe@che.utexas.edu |
|
6 # Department of Chemical Engineering |
|
7 # The University of Texas at Austin |
|
8 |
|
9 TOPDIR = ../.. |
|
10 |
|
11 script_sub_dir = optimization |
|
12 |
|
13 srcdir = @srcdir@ |
|
14 top_srcdir = @top_srcdir@ |
|
15 VPATH = @srcdir@ |
|
16 |
|
17 include $(TOPDIR)/Makeconf |
|
18 |
|
19 INSTALL = @INSTALL@ |
|
20 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
21 INSTALL_DATA = @INSTALL_DATA@ |
|
22 |
6283
|
23 SOURCES = __fsolve_defopts__.m glpk.m glpkmex.m optimset.m qp.m sqp.m |
5232
|
24 |
|
25 EXTRAS = glpktest1 glpktest2 |
|
26 |
|
27 DISTFILES = Makefile.in $(SOURCES) $(EXTRAS) |
|
28 |
6283
|
29 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
5232
|
30 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
31 |
5597
|
32 all: PKG_ADD |
5232
|
33 .PHONY: all |
|
34 |
|
35 install install-strip: |
|
36 $(do-script-install) |
|
37 .PHONY: install install-strip |
|
38 |
|
39 uninstall: |
|
40 $(do-script-uninstall) |
|
41 .PHONY: uninstall |
|
42 |
|
43 clean: |
|
44 .PHONY: clean |
|
45 |
5597
|
46 PKG_ADD: $(FCN_FILES) |
|
47 @echo "making PKG_ADD" |
|
48 @$(do-mkpkgadd) |
|
49 |
5232
|
50 tags: $(SOURCES) |
|
51 ctags $(SOURCES) |
|
52 |
|
53 TAGS: $(SOURCES) |
|
54 etags $(SOURCES) |
|
55 |
|
56 mostlyclean: clean |
|
57 .PHONY: mostlyclean |
|
58 |
|
59 distclean: clean |
5866
|
60 rm -f Makefile PKG_ADD |
5232
|
61 .PHONY: distclean |
|
62 |
|
63 maintainer-clean: distclean |
|
64 rm -f tags TAGS |
|
65 .PHONY: maintainer-clean |
|
66 |
|
67 dist: |
6467
|
68 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/optimization |
5232
|
69 .PHONY: dist |