###########################
##   makefile standard   ##
###########################

CC = wcc386
ASM = ml

# options
#CFLAGS = -mf -zq -w3 -4s
CFLAGS = -mf -zq -w3 -4s -oneatx


AFLAGS = /c /Zf /Gd /Cp

# Linker_options   = 
LFLAGS =
# debug all

System	     = dos4g

Exe_file     = getrom.exe

Object_files = getrom.obj

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

$(Exe_file): $(Object_files)
  *wlink system $(System) $(LFLAGS) name $(Exe_file) file {$(Object_files)}
#  for %i in ($(Object_files)) do wlib 3d.lib +-%i

.c.obj:
	$(CC) $(CFLAGS) $<

.asm.obj :
	$(ASM) $(AFLAGS) $<



