-
Notifications
You must be signed in to change notification settings - Fork 39
/
rulesSources.mk
46 lines (40 loc) · 1.73 KB
/
rulesSources.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ******************************************************************
# * *
# * File: rulesSources.mk *
# * Author: Gaetan Kenway *
# * Starting date: 04-05-2013 *
# * Last modified: 04-05-2013 *
# * *
# ******************************************************************
# ******************************************************************
# * *
# * Description: Rules to make the objects. These are the general *
# * rules. If in a subdirectory different rules must *
# * be used, this file should not be included. *
# * *
# ******************************************************************
%.o: %.F90
$(FF90) $(FF90_ALL_FLAGS) -c $< -o $(HYP_OBJDIR)/$(@F)
@echo
@echo " --- Compiled $*.F90 successfully ---"
@echo
%.o: %.f90
$(FF90) $(FF90_ALL_FLAGS) -c $< -o $(HYP_OBJDIR)/$(@F)
@echo
@echo " --- Compiled $*.f90 successfully ---"
@echo
%.o: %.f
$(FF90) $(FF90_ALL_FLAGS) -c $< -o $(HYP_OBJDIR)/$(@F)
@echo
@echo " --- Compiled $*.f successfully ---"
@echo
%.o: %.F
$(FF90) $(FF90_ALL_FLAGS) -c $< -o $(HYP_OBJDIR)/$(@F)
@echo
@echo " --- Compiled $*.f successfully ---"
@echo
%.o: %.c
$(CC) $(CC_ALL_FLAGS) -c $< -o $(HYP_OBJDIR)/$(@F)
@echo
@echo " --- Compiled $*.c successfully ---"
@echo