blob: 6ad6dba69fbccec5d971796b34913851cf1d594e (
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 -lgcc_s -lgfortran
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
|