[e746bc]: Makefile  Maximize  Restore  History

Download this file

30 lines (22 with data), 620 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
sinclude ../../Makeconf
PKG_FILES = COPYING DESCRIPTION INDEX $(wildcard src/*) \
$(wildcard inst/*)
SUBDIRS = src
.PHONY: $(SUBDIRS)
pre-pkg::
@for _dir in $(SUBDIRS); do \
$(MAKE) -C $$_dir pre-pkg; \
done
clean:
@for _dir in $(SUBDIRS); do \
$(MAKE) -C $$_dir $(MAKECMDGOALS); \
done
build::
@for _dir in $(SUBDIRS); do \
$(MAKE) -C $$_dir all; \
done
check:: build
@$(RM) __check__.m
@find . -name "*.m" -exec grep %\! {} \; -o -name "*.cc" -exec grep %\! {} \; >> __check__.m
@octave -q --eval 'addpath("./src"); addpath("./inst"); test("__check__","normal",stdout);'
@$(RM) __check__.m

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks