global.mk 327 Bytes
Newer Older
Celine Mercier committed
1

2
LIBSUMAPATH = -L./sumalibs
Celine Mercier committed
3

4
LIBSUMA = ./sumalibs/libsuma.a
Celine Mercier committed
5 6 7 8 9 10

CC=gcc
LDFLAGS=


ifeq ($(CC),gcc)
11
        CFLAGS = -O3 -s -DOMP_SUPPORT -w
Celine Mercier committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
else
        CFLAGS = -O3 -w
endif


default: all

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


########
#
# libraries compilation
#
########

29 30
./sumalibs/libsuma.a:
	$(MAKE) -C ./sumalibs