File: Makefile

package info (click to toggle)
libxsmm 1.17-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,976 kB
  • sloc: ansic: 119,587; cpp: 27,680; fortran: 9,179; sh: 5,765; makefile: 5,040; pascal: 2,312; python: 1,812; f90: 1,773
file content (19 lines) | stat: -rw-r--r-- 467 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
CC= icpc
CFLAGS= -O3 -fPIC -std=c++11 -fopenmp
LDFLAGS= -shared
SOURCES = batch_reduce_plus_init.cc
LIBXSMMDIR=./../../../../

INC=-I$(LIBXSMMDIR)/include
LIBS = $(LIBXSMMDIR)/lib/libxsmm.a $(LIBXSMMDIR)/lib/libxsmmext.a \
       $(LIBXSMMDIR)/lib/libxsmmnoblas.a $(LIBXSMMDIR)/lib/libxsmmgen.a \
       $(LIBXSMMDIR)/lib/libxsmmf.a

TARGET= libxsmm_wrapper.so

all:
	$(CC) $(INC) $(CFLAGS) -fPIC $(SOURCES) $(LIBS)  -o $(TARGET) $(LDFLAGS)

clean:
	rm -f $(TARGET)