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