Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:manfred999
ftnchek
makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File makefile.patch of Package ftnchek
Do some dependency changes to allow an one-pass compilation. Building in parallel does still not work, though. --- ftnchek/Makefile.in.orig 2020-09-10 10:41:52.009737736 +0200 +++ ftnchek/Makefile.in 2020-09-10 18:34:40.013079708 +0200 @@ -285,7 +285,9 @@ all: prog manpage # N.B. dcl2inc is also a prog but it is made by configure. A generic # copy of it is provided with the distribution also, in case the user # doesn't want to or can't use configure. -prog: ftnchek$(EXE) +prog: + $(MAKE) fortran.c + $(MAKE) ftnchek$(EXE) # The manpage target is a "clean-ed up" version of the Unix man page, # with conditional text, used by developer to create other forms of @@ -347,6 +349,8 @@ maintainer-clean: distclean -$(RM) fortran.c -$(RM) *.catman +$(OBJS): fortran.c + ftnchek$(EXE): $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) -o ftnchek$(EXE) $(OBJS) $(LDLIBS) @@ -359,8 +363,7 @@ ftnchek$(EXE): $(OBJS) # since it is part of the keyword. # Also concatenate backslash-continued #if lines, which some older # compilers don't like. -# The following copies y.tab.h to tokdefs.h if changed, then aborts make, -# since dependencies may have changed. +# The following copies y.tab.h to tokdefs.h if changed. fortran.c: fortran.y $(YACC) $(YFLAGS) fortran.y @if test "$(YACC_NAME)" = "bison$(EXE)" ; \ @@ -377,9 +380,8 @@ fortran.c: fortran.y $(MV) y.tab.c fortran.c ; \ fi @if $(CMP) -s y.tab.h tokdefs.h ; then true ; else \ - echo; echo tokdefs.h changed -- repeat make ; \ + echo; echo tokdefs.h changed -- copy from y.tab.h ; \ $(CP) y.tab.h tokdefs.h; \ - false ; \ fi # In case tokdefs.h does not exist, make might complain no rule exists @@ -521,9 +523,8 @@ ftnchek.hlp: ftnchek.man >ftnchek.hlp -# Rebuild average.out when version changes. (We don't put the -# dependency on ftnchek to avoid building ftnchek just for docs.) -average.out: ftnchek.h +# Rebuild average.out when version changes. +average.out: $(FTNCHEK) ftnchek.h $(FTNCHEK) -list -symtab average > average.out # Install program and documentation on system. Obsolete fcl2vcg script
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor