File: Makefile.manual

package info (click to toggle)
meep-mpi-default 1.17.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 51,672 kB
  • sloc: cpp: 29,881; python: 17,210; lisp: 1,225; makefile: 477; sh: 249; ansic: 133; javascript: 5
file content (19 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# set MEEP_PREFIX to the root of the MEEP installation directory,
# i.e. the --prefix argument specified to `configure` or `autogen.sh`
MEEP_PREFIX=/usr/local/

CXXFLAGS = -O2
CPPFLAGS += -I$(MEEP_PREFIX)/include
LDFLAGS += -L$(MEEP_PREFIX)/lib -Wl,-rpath,$(MEEP_PREFIX)/lib
LDFLAGS += -L$(MEEP_PREFIX)/lib64 -Wl,-rpath,$(MEEP_PREFIX)/lib64

##################################################
# HR libraries ###################################
##################################################
LIBS = -lmeepgeom -lmeep -lctlgeom

WriteChunkInfo:  	WriteChunkInfo.o
			$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)

clean:	
		rm *.o *.a