c677922c26
additions needed only on FreeBSD 6.* from math/levmar; patch a makefile of, and add an option to build profiling libraries to, math/lapacke; mark MAKE_JOBS_SAFE PR: 161154, 161155 Submitted by: E. Shibusawa (maintainer)
20 lines
309 B
Text
20 lines
309 B
Text
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
|