home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-04-24 | 1.6 KB | 55 lines |
- #
- # Program: HYDROTEL
- #
- debug = /d1 /d2
- debuglink = DEBUG ALL
- version = 386
- path= e:\wc\
-
- optims=/omaxet /zp4 /4r /7
- #optims=
-
- wcc386_options= /mf $(optims) /w4 $(debug) /i=$(path)h /DRLE /DUSE_STRING_H
- wcc_options= /ml /fpi87 /oaxtil /w4 $(debug) /i=$(path)h
-
- wlink386_options=$(debuglink) LIBP $(path)lib386\dos;$(path)lib386 option stack=50k
- wlink_options= $(debuglink) LIBP $(path)lib286\dos;$(path)lib286 form dos option stack=10k
-
- linker_options= $(wlink$(version)_options)
- compiler = wcc$(version)
-
- object_files = ggveclib.obj &
- gauss.obj for_rle.obj input.obj intersec.obj main.obj objects.obj &
- poly_cli.obj poly_sca.obj preproce.obj radiosit.obj ray_box.obj &
- ray_cyli.obj ray_poly.obj ray_sphe.obj read_n_w.obj render.obj &
- scan_con.obj vox.obj for_radi.obj
-
- rad.exe : $(object_files) rad.lnk
- wlink $(linker_options) @rad.lnk
-
- rad.lnk:
- echo name rad.exe >> $^@
- echo f ggveclib.obj >> $^@
- echo f gauss.obj >> $^@
- echo f for_rle.obj >> $^@
- echo f input.obj >> $^@
- echo f intersec.obj >> $^@
- echo f main.obj >> $^@
- echo f objects.obj >> $^@
- echo f poly_cli.obj >> $^@
- echo f poly_sca.obj >> $^@
- echo f preproce.obj >> $^@
- echo f radiosit.obj >> $^@
- echo f ray_box.obj >> $^@
- echo f ray_cyli.obj >> $^@
- echo f ray_poly.obj >> $^@
- echo f ray_sphe.obj >> $^@
- echo f read_n_w.obj >> $^@
- echo f render.obj >> $^@
- echo f scan_con.obj >> $^@
- echo f vox.obj >> $^@
- echo f for_radi.obj >> $^@
-
- .c.obj :
- $(compiler) $[* $($(compiler)_options)