Commit a1fdaf6d authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

debugging targets

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:
SVN Revision: 749
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 2d49467c
......@@ -18,12 +18,18 @@ FCOPTS=-O2
$(CC) $(CFLAGS) $(<:.f=.c) -c
@rm $(<:.f=.c)
%.odbg: %.f
f2c $(F2CFLAGS) $< -g -c
$(CC) $(CFLAGS) $(<:.f=.c) -g -c -o $@
%.o77: %.f
g77 $(FCFLAGS) $(FCOPTS) -o $@ -c $<
-/bin/rm *.o *.bak *.o77
-/bin/rm *.o *.bak *.o77 *.odbg
echo $(patsubst %.f,%.c,$(wildcard *.f)) | \
xargs --no-run-if-empty rm -fv
flist: $(wildcard *.f *.inc) Makefile
echo $^ | tr ' ' '\n' | sort > $@
......@@ -58,6 +64,9 @@ wsyg: syg.o
gsyg: syg.o
gcc -o $(LOCBINDIR)/$@ $< -lgrgevsub -lflgevas -lrefread \
gsygdbg: syg.odbg
gcc -g -o $(LOCBINDIR)/$@ $< -lgrgevsubdbg -lflgevasdbg -lrefread \
syg: syg.o
gcc -o $(LOCBINDIR)/$@ $< -lgrrefsub -lrefread \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment