version 1.2, 2007/10/16 22:48:15
|
version 1.6, 2022/09/14 15:59:13
|
|
|
| |
dir := base | dir := base |
-include $(SRCDIR)/$(dir)/Rules.mk | -include $(SRCDIR)/$(dir)/Rules.mk |
|
|
dir := proj | dir := proj |
-include $(SRCDIR)/$(dir)/Rules.mk |
-include $(SRCDIR)/$(LOCALIZATIONDIR)/includes.mk |
| |
# Non-default targets | # Non-default targets |
idl: $(LIBJSOC_MAIN_SOCK_I) | idl: $(LIBJSOC_MAIN_SOCK_I) |
Line 37 $(IIOBJ): CF_TGT := $(CF_TGT) -DIDLLIB |
|
Line 38 $(IIOBJ): CF_TGT := $(CF_TGT) -DIDLLIB |
|
# General directory-independent rules | # General directory-independent rules |
%.c: %.pgc | %.c: %.pgc |
$(ECPG) | $(ECPG) |
|
%.c: %.i |
|
$(SWIG) |
| |
%.o: %.f | %.o: %.f |
$(FCOMP) | $(FCOMP) |
| |
|
%.o: %.f90 |
|
$(FCOMP) |
|
|
# If a .f file is to be compiled more than one, the Rules.mk file that | # If a .f file is to be compiled more than one, the Rules.mk file that |
# contains the rules for that .f file exists in a subdirectory of the | # contains the rules for that .f file exists in a subdirectory of the |
# directory that contains the .f file. As a result, the stem of the | # directory that contains the .f file. As a result, the stem of the |
Line 48 $(IIOBJ): CF_TGT := $(CF_TGT) -DIDLLIB |
|
Line 54 $(IIOBJ): CF_TGT := $(CF_TGT) -DIDLLIB |
|
%.o: ../%.f | %.o: ../%.f |
$(FCOMP) | $(FCOMP) |
| |
|
%.o: ../%.f90 |
|
$(FCOMP) |
|
|
%.o: %.c | %.o: %.c |
$(COMP) | $(COMP) |
| |
|
|
# Prevent make from removing any build targets, including intermediate ones | # Prevent make from removing any build targets, including intermediate ones |
| |
.SECONDARY: $(CLEAN) | .SECONDARY: $(CLEAN) |
|
|