global.mk 336 Bytes
Newer Older
1

2
LIBSUMAPATH = -L./sumalibs
3

4
LIBSUMA = ./sumalibs/libsuma.a
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

CC=gcc
LDFLAGS=


ifeq ($(CC),gcc)
        CFLAGS = -O3 -s -DOMP_SUPPORT -fopenmp -w
else
        CFLAGS = -O3 -w
endif


default: all

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


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

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