###############################################################################
# File:         Makefile
# Description:  Makefile for Sample Program
# Revisions:    A.01.00   [ 12/1/2002 ]
# Language:     C
#
# (C) Copyright 2002, Agilent Technologies Company, all rights reserved.
###############################################################################
#
#    This makefile is for nmake command which is included in 
#    Microsoft Visual C++
#
###############################################################################


# PNPDIR is the location of the vxipnp directory.
# You need to set PNPDIR variable according with installed directory.
PNPDIR="c:\program files\visa\winnt"
#PNPDIR=c:\vxipnp\winnt
#PNPDIR=c:\vxipnp\win95

!include <win32.mak>

all: sample.exe

clean:
   del sample.exe sample.obj

.c.exe:
   $(cc) $(cflags) $(cvars) $(cdebug) -I$(PNPDIR)\include -I.. $*.c
   $(link) $(ldebug) $(conlflags) -out:$@ $*.obj $(conlibs) \
      $(PNPDIR)\lib\msc\visa32.lib \
      $(PNPDIR)\lib\msc\age5270_32.lib \
      ..\lib\msc\E5270_TIS.lib
