Skip to content

Commit e9be1e5

Browse files
committed
Update Makefile
1 parent 10c65ba commit e9be1e5

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
.idea

Model/Makefile

+13-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
1-
libURL="http://ob.sr.unh.edu/svn/WSAG/branches/Balazs/snapshots/2009-12-18 NASA-IDS"
2-
mdlURL="http://ob.sr.unh.edu/svn/WSAG/branches/Balazs/snapshots/2009-12-18 NASA-IDS"
1+
.PHONY: all
32

4-
all: CMlib_target MFlib_target WBMplus_target
3+
all: _CMlib _MFlib _WBMplus
54

6-
CMlib_target: CMlib
7-
svn update CMlib
8-
make -C CMlib all
5+
_CMlib:
6+
$(MAKE) -C CMlib all
97

10-
MFlib_target: MFlib
11-
svn update MFlib
12-
make -C MFlib all
8+
_MFlib:
9+
$(MAKE) -C MFlib all
1310

14-
WBMplus_target: WBMplus
15-
svn update WBMplus
16-
make -C WBMplus all
11+
_WBMplus:
12+
$(MAKE) -C WBMplus all
1713

18-
CMlib:
19-
svn checkout $(libURL)/CMlib
14+
LIBS = CMlib MFlib WBMplus
15+
.PHONY: clean $(LIBS)
16+
$(LIBS):
17+
$(MAKE) -C $@ clean
2018

21-
MFlib:
22-
svn checkout $(libURL)/MFlib
19+
clean: $(LIBS)
2320

24-
WBMplus:
25-
svn checkout $(mdlURL)/WBMplus

0 commit comments

Comments
 (0)