@echo off
rem
rem This batch file builds all of the ADS example programs in this
rem directory using the 32-bit Microsoft Visual C++ compiler.  The
rem programs are built as AutoCad ADS applications.  The batch 
rem assumes that the Microsoft C compiler and the Phar Lap tools 
rem are in the path.Also the Microsoft environment variables 
rem INCLUDE and LIB must be properly set.
rem
cl -c -Zp1 ads_perr.c
386link @msvcads ads_perr
cl -c -Zp1 appmngr.c
386link @msvcads appmngr
cl -c -Zp1 arbmat.c
386link @msvcads arbmat
cl -c -Zp1 colext.c
386link @msvcads colext
cl -c -Zp1 dlgtest.c
386link @msvcads dlgtest
cl -c -Zp1 dragger.c
386link @msvcads dragger
cl -c -Zp1 fact.c
386link @msvcads fact
cl -c -Zp1 cal.c
cl -c -Zp1 calerr.c
cl -c -Zp1 calexpr.c
cl -c -Zp1 callex.c
cl -c -Zp1 calmngf.c
cl -c -Zp1 calstdf.c
cl -c -Zp1 calusrf.c
cl -c -Zp1 util.c
386link @msvcads -exe geom cal calerr calexpr callex calmngf calstdf calusrf util
cl -c -Zp1 gpalsym.c
386link @msvcads gpalsym
cl -c -Zp1 gravity.c
386link @msvcads gravity
cl -c -Zp1 grvecs.c
386link @msvcads grvecs
cl -c -Zp1 magnets.c
386link @msvcads magnets
cl -c -Zp1 mountain.c
386link @msvcads mountain
cl -c -Zp1 sld2ps.c
386link @msvcads sld2ps
cl -c -Zp1 sqr.c
386link @msvcads sqr
cl -c -Zp1 tadc.c
386link @msvcads tadc
cl -c -Zp1 tower.c
386link @msvcads tower
