0b70138e48
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>
19 lines
410 B
Plaintext
19 lines
410 B
Plaintext
--- 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
|
|
|