File: global.mk

package info (click to toggle)
sumaclust 1.0.36%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 444 kB
  • sloc: ansic: 2,191; sh: 111; makefile: 76
file content (20 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

LIBSUMAPATH =

LIBSUMA =

CC=gcc
LDFLAGS:=$(LDFLAGS)


ifeq ($(CC),gcc)
        CFLAGS += -g -O3 -s -DOMP_SUPPORT -fopenmp -w -I$(CURDIR)/sumalibs
else
        CFLAGS += -g -O3 -w
endif


default: all

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $< $(LIB)