summaryrefslogtreecommitdiff
path: root/math/levmar/files/Makefile.demo
blob: 751eb0ba2ce6c759d5748b6e2041041995cc019a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CC= %%CC%%
CFLAGS= %%CFLAGS%%
LDFLAGS= %%LDFLAGS%%
LAPACK= %%LAPACK%%
BLAS= %%BLAS%%
LIBS= -llevmar $(LAPACK) $(BLAS) -lm

DEMOBJS= lmdemo.o
DEMOSRCS= lmdemo.c

all: lmdemo

lmdemo: $(DEMOBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(DEMOBJS) -o lmdemo $(LIBS)

clean:
	@rm -f $(DEMOBJS)

cleanall: clean
	@rm -f lmdemo