###############################################
# Make file per l'applicazione primo          #
# syntax: make -B -fprimo.mak                 #
###############################################

# macro per gli strumenti utilizzati

ASM = ..\bin\tasm32
LNK = ..\bin\tlink32

# macro per i files

NAME = primo
OBJS = $(NAME).obj

# macro per le opzioni dell'assembler e del linker

ASMOPT = /ml /zn /l
LNKOPT = /c /Tpe /aa /V4.0 /s

############# generazione exe file ############

$(NAME).EXE: $(OBJS)
   $(LNK) $(LNKOPT) $(OBJS), $(NAME)
   
########### generazione object file ###########

$(NAME).OBJ: $(NAME).ASM
   $(ASM) $(ASMOPT) $(NAME).ASM