2010-08-25 08:42:48 +02:00
|
|
|
CC= %%CC%%
|
|
|
|
CFLAGS= %%CFLAGS%%
|
|
|
|
LDFLAGS= %%LDFLAGS%%
|
|
|
|
LAPACK= %%LAPACK%%
|
|
|
|
BLAS= %%BLAS%%
|
2010-12-18 01:44:22 +01:00
|
|
|
LIBS= -llevmar $(LAPACK) $(BLAS) -lm -lgcc_s -lgfortran
|
2010-08-25 08:42:48 +02:00
|
|
|
|
|
|
|
DEMOBJS= lmdemo.o
|
|
|
|
DEMOSRCS= lmdemo.c
|
|
|
|
|
|
|
|
all: lmdemo
|
|
|
|
|
|
|
|
lmdemo: $(DEMOBJS)
|
2010-12-18 01:44:22 +01:00
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $(DEMOBJS) -o lmdemo $(LIBS)
|
2010-08-25 08:42:48 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@rm -f $(DEMOBJS)
|
|
|
|
|
|
|
|
cleanall: clean
|
|
|
|
@rm -f lmdemo
|