Fixed an error in the depends rule.
This commit is contained in:
parent
e9a4dce8ad
commit
156bb4ca2c
2 changed files with 12 additions and 1 deletions
|
|
@ -9,3 +9,5 @@ gri30.xml
|
|||
isentropic
|
||||
output_0.txt
|
||||
output_1.txt
|
||||
*.d
|
||||
.depends
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .h .f
|
||||
|
||||
|
||||
# the object files to be linked together.
|
||||
OBJS = demo_ftnlib.o isentropic.o ctlib.o
|
||||
|
|
@ -49,6 +52,10 @@ LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
|||
.@F77_EXT@.@OBJ_EXT@:
|
||||
$(FORT) -c $< $(FORT_FLAGS)
|
||||
|
||||
.f.d:
|
||||
@echo "$*.o: $*.f" | cat > $*.d
|
||||
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
|
@ -89,7 +96,9 @@ install:
|
|||
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) isentropic ctlib
|
||||
$(RM) $(OBJS) isentropic ctlib *.d .depends \
|
||||
diff* output_0.txt output_1.txt gri30.xml ct2ctml.log \
|
||||
isentropic.dsp
|
||||
|
||||
depends:
|
||||
$(MAKE) .depends
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue