summaryrefslogtreecommitdiff
path: root/dev-lang/f2c/files/f2c-20100827-fix-buildsystem.patch
blob: 56fbb869fc22c5d65857d1df3369a7b93aee4b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/src/makefile.u
+++ b/src/makefile.u
@@ -1,15 +1,10 @@
 #	Makefile for f2c, a Fortran 77 to C converter
 
 .SUFFIXES: .c .o
-CC = cc
-CFLAGS = -O
 SHELL = /bin/sh
 YACC = yacc
 YFLAGS =
 
-.c.o:
-	$(CC) -c $(CFLAGS) $*.c
-
 OBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \
 	  expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \
 	  output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \
@@ -100,9 +95,6 @@
 	parse.h parse_args.c pccdefs.h pread.c proc.c put.c putpcc.c \
 	sysdep.c sysdep.h sysdeptest.c tokens usignal.h vax.c version.c xsum.c
 
-xsum: xsum.c
-	$(CC) $(CFLAGS) -o xsum xsum.c
-
 #Check validity of transmitted source...
 xsum.out: xsum $b
 	./xsum $b >xsum1.out