File: Makefile.am

package info (click to toggle)
freefem++ 3.47+dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 132,088 kB
  • ctags: 19,726
  • sloc: cpp: 138,951; ansic: 22,605; sh: 4,951; makefile: 2,935; fortran: 1,147; perl: 768; awk: 282; php: 182
file content (38 lines) | stat: -rw-r--r-- 1,588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Makefile using Automake + Autoconf
# ----------------------------------

CXXLD=$(STATICTOOL) $(CXX)

bin_PROGRAMS=$(MEDITPROG)
EXTRA_DIST=picking.c 
EXTRA_PROGRAMS=ffmedit
ffmedit_SOURCES= animat.c cube.c image.c listnum.c mouse.c persp.c stream.c zaldy2.c bbfile.c dlists.c inmsh2.c		\
material.c normal.c tiles.c camera.c ellipse.c inout.c medit.c param.c psfile.c transform.c cenrad.c geometry.c		\
inout_morice.c menus.c parsar.c scene.c util.c clip.c gisfil.c inout_popenbinaire.c mesh.c parsop.c scissor.c vector.c	\
clipvol.c hash.c items.c mlists.c particle.c sftcpy.c view.c critip.c ilists.c keyboard.c morphing.c path.c status.c	\
zaldy1.c chrono.h extern.h image.h mesh.h eigenv.h grafic.h medit.h sproto.h


LDADD=picking.$(OBJEXT) ../libMesh/libMesh.a $(LIBSGLUT) -lm
AM_CPPFLAGS=-I$(srcdir)/../libMesh
BUILT_SOURCES=compil.date
compil.date: $(ffmedit_SOURCES)
	echo "#define COMPIL " '" @FF_DATE@ (with ff++ $(VERSION))"' > compil.date
#.PHONY: compil.date

# ALH - during a parallel make, we should make sure that picking.o is not used before being made by a different
# thread. If I understand things correctly, picking.c should not be compiled with the regular CFLAGS options.

ffmedit_DEPENDENCIES=picking.$(OBJEXT)
picking.$(OBJEXT):picking.c
	${CC} -c $< $(CNOFLAGS) -o $@ 

###pinking.no-optffmedit$(EXEEXT):picking.c
###	rm picking.$(OBJEXT)
###	$(MAKE) picking.o $(MEDITPROG) CFLAGS="$(CNOFLAGS)"
###	touch pinking.no-optffmedit$(EXEEXT)
###pinking.no-opt:picking.c
###	touch pinking.no-opt
###clean-local:
###	-rm pinking.no-opt pinking.no-optffmedit$(EXEEXT)