freebsd-ports/comms/nec2c/files/patch-Makefile
Pav Lucistnik 0b70138e48 nec2c is a translation of the NEC2 FORTRAN source code to the C language.
The translation was performed mostly "by hand" and a lot of modifications
to the original program were introduced in order to modernize the NEC2
and to remove as many built-in limitations as possible. The attendant
SOMNEC program was also translated to C and incorporated in nec2c as a
function so that Sommerfeld ground solutions are a part of the program.

PR:		ports/83392
Submitted by:	Diane Bruce <db@db.net>
2005-07-13 21:13:26 +00:00

18 lines
410 B
Text

--- Makefile.orig Tue Jan 27 14:53:38 2004
+++ Makefile Sat Jul 9 00:19:39 2005
@@ -1,12 +1,11 @@
#Makefile for nec2c 21 Aug 2003
-SHELL = /bin/sh
-CC = gcc -Wall -O3 -g
+all: nec2c
-objects = nec2c.o misc.o somnec.o
+objects = nec2c.o misc.o somnec.o carg.o
nec2c : $(objects)
- $(CC) -lm -lefence -o nec2c $(objects)
+ $(CC) -lm -o nec2c $(objects) -L${PREFIX}/lib -lccm
$(objects) : nec2c.h