#                   --------------------------------
#                   Makefile   by nt / *INCOGNITA*
#                   --------------------------------

Intel_Version = 1

#Version  = Debug
Version = Final

Compiler = wcc386
#Compiler = wcc
Assembler = tasm

Nfo_Msg_Debug =Debug Version!
Nfo_Msg_Final =Final Version
Nfo_Msg = $(Nfo_Msg_$(Version))

Compiler_Options_Debug = /mf /d2 /w3 /dIntel=$Intel_Version
Compiler_Options_Final = /mf /w3 /oneatx /zp4 /5r /fp5 /fpi87 /dIntel=$Intel_Version
Compiler_Options = $(Compiler_Options_$(Version)) /i$(%watcom)\icg_lib

Linker_Options_Debug   = debug all
Linker_Options_Final   =
Linker_Options   = $(Linker_Options_$(Version))

Asm_Options_Debug = /m3 /q /w2 /zi /z /dIntel=$Intel_Version
Asm_Options_Final = /m9 /q /w2 /z /dIntel=$Intel_Version
Asm_Options = $(Asm_Options_$(Version))

System       = pmodew
#System      = dos4g
#System      = dos

Object_files = land.obj         &
               camera.obj       &
               file.obj         &
               render.obj       &
               clip.obj         &
               scan.obj         &
               scan32.obj       &
               surface.obj      &
               scan_i.obj       &
               scan32_i.obj

#Lib_files    = .lib
Lib_files    = $(%watcom)\icg_lib\icg_demo.lib

Stack        = 40960

####################
## Makefile rules ##
####################

obj:    $(Object_files)

.c.obj:
        *$(Compiler) $(Compiler_Options) $<

.asm.obj:
        $(Assembler) $(Asm_Options) $<


.AFTER

    @echo ----------------Finished------------------

.BEFORE

    @echo ----------Running nt's Makefile----------
