File: pgbind.mak

package info (click to toggle)
pgplot5 5.2-8
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 6,268 kB
  • ctags: 5,900
  • sloc: fortran: 37,938; ansic: 18,809; sh: 1,136; objc: 532; perl: 443; makefile: 271; pascal: 233; tcl: 178; awk: 51; csh: 25
file content (21 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile for Microsoft Visual C++ V4.0
# platform: Windows-95 and Windows-NT (not tested)
# purpose:  creates CPGPLOT (C bindings) for PGPLOT graphics package
# usage:    copy this file (pgbind.mak), pgbind_prototypes and pgbind.c
#           to the directory where cpgplot.lib and cpgplot.h are 
#           to be created
#           then type        NMAKE /F PGBIND.MAK

all: pgbind.exe cpgplot.lib clean

pgbind.exe : pgbind.c

cpgplot.lib::
	.\pgbind ms -h -w pgbind_prototypes
	for %f in ( cpg*.c )  do cl /c %f
	lib /out:cpgplot.lib cpg*.obj

clean::
	del cpg*.obj
	del cpg*.c
	del pgbind.exe