freebsd-ports/math/levmar/files/Makefile.demo
Brendan Fabeny c677922c26 correct linking and dependency tests; remove MAKE_ENV
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)
2011-10-23 09:04:04 +00:00

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