Makefile 732 Bytes
Newer Older
thomas.forbriger's avatar
thomas.forbriger committed
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
30
31
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.1 2010-04-27 19:09:52 tforb Exp $
# 
# Copyright (c) 2010 by Thomas Forbriger (BFO Schiltach) 
# 
# compile mex files
# 
# REVISIONS and CHANGES 
#    27/04/2010   V1.0   Thomas Forbriger
# 
# ============================================================================
#

all:

flist: Makefile $(wildcard *.cc)
	echo $^ | tr ' ' '\n' | sort > $@

.PHONY: edit
edit: flist; vim $<

.PHONY: clean
clean: ; 
	-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
	-/bin/rm -vf flist

mextest.mexa64: mextest.cc
	mex $< -cxx -output $@ -L$(LOCLIBDIR) -I$(LOCINCLUDEDIR) -ltime++

# ----- END OF Makefile -----