File: Makefile

package info (click to toggle)
necpp 1.2.4%2Bcvs20060601-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,764 kB
  • ctags: 5,989
  • sloc: cpp: 30,174; ansic: 10,162; fortran: 8,333; python: 2,948; makefile: 186; sh: 1
file content (26 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (3)
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
#Makefile for nec2c     21 Aug 2003

SHELL = /bin/sh
PROJECT = nec2c
BINDIR  = /usr/local/bin
CC = gcc -Wall -g3

objects = calculations.o fields.o geometry.o ground.o input.o \
	  main.o matrix.o misc.o network.o radiation.o somnec.o

$(PROJECT) : $(objects)
	    $(CC) -lm -o $(PROJECT) $(objects)

$(objects) : nec2c.h

nec2dx : 
	g77 -o nec2dx nec2dx.f
	install -m 755 --strip nec2dx $(BINDIR)

install : $(PROJECT)
	  install -m 755 --strip $(PROJECT) $(BINDIR)

.PHONY : distclean
distclean  :
	-rm -f *.o *~ $(PROJECT) nec2dx