source: TOOLS/SURPACK_IPSL/Makefile @ 3624

Last change on this file since 3624 was 2136, checked in by acosce, 11 years ago

add new tools allows packing simulation alreaddy pack (so pack with a bigger frequency)

File size: 464 bytes
Line 
1MODULE_LOADED := $(shell ./check_libccc_user.sh; echo $$?)
2ifeq ($(MODULE_LOADED),1)
3  $(error "Charger le module libccc_user")
4endif
5MPICC=mpicc
6MPICC_OPTS=-g
7# do not forget "module load libccc_user" before
8ifneq ($(CCC_LIBCCC_USER_LDFLAGS),)
9LIBS=$(CCC_LIBCCC_USER_LDFLAGS) 
10MPICC_OPTS+=-D __HAVE_LIBCCC_USER__ -I$(CCC_LIBCCC_USER_INC_DIR)
11endif
12
13.PHONY: all
14all : glost_launch
15
16%:%.c
17        $(MPICC) $(MPICC_OPTS) -o $@ $< $(LIBS)
18       
19clean:
20        $(RM) glost_launch
21
22
23
24
25
26
Note: See TracBrowser for help on using the repository browser.