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
|
isentropic
|
||||||
output_0.txt
|
output_0.txt
|
||||||
output_1.txt
|
output_1.txt
|
||||||
|
*.d
|
||||||
|
.depends
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
.SUFFIXES :
|
||||||
|
.SUFFIXES : .cpp .d .o .h .f
|
||||||
|
|
||||||
|
|
||||||
# the object files to be linked together.
|
# the object files to be linked together.
|
||||||
OBJS = demo_ftnlib.o isentropic.o ctlib.o
|
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@:
|
.@F77_EXT@.@OBJ_EXT@:
|
||||||
$(FORT) -c $< $(FORT_FLAGS)
|
$(FORT) -c $< $(FORT_FLAGS)
|
||||||
|
|
||||||
|
.f.d:
|
||||||
|
@echo "$*.o: $*.f" | cat > $*.d
|
||||||
|
|
||||||
|
|
||||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||||
|
|
||||||
DEPENDS = $(OBJS:.o=.d)
|
DEPENDS = $(OBJS:.o=.d)
|
||||||
|
|
@ -89,7 +96,9 @@ install:
|
||||||
|
|
||||||
|
|
||||||
clean:
|
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:
|
depends:
|
||||||
$(MAKE) .depends
|
$(MAKE) .depends
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue