File: Makefile

package info (click to toggle)
nec2c 0.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 372 kB
  • ctags: 436
  • sloc: ansic: 10,256; makefile: 63
file content (26 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
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  = $(DESTDIR)/usr/bin
CC = gcc -Wall -O2

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 $(PROJECT) $(BINDIR)

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