## Makefile for building the FreeDOS Resident Calculator
## (c) 2006, 2007 Oleg O. Chukaev
##
## Programs used:
##   NASM 0.98.38
##   GNU Make 3.79.1 / Borland MAKE 2.0, 3.0

## Change this variable to actual path to NASMLiB
INCLUDE = ../nasmlib.015/

## Change `en' to `ru', `de', etc. if you want messages in another language
LANG = en

AS = nasm
AFLAGS = -O4 -t -p messages.$(LANG) -i $(INCLUDE)
RM = del

PROGS = fdrc.com

all: $(PROGS)

fdrc.com: fdrc.asm messages.$(LANG) config.inc $(INCLUDE)cmdline.inc	\
	$(INCLUDE)dos_prt.inc $(INCLUDE)tsr.inc $(INCLUDE)copyrigh.inc
	$(AS) $(AFLAGS) -o fdrc.com fdrc.asm

clean:
	-$(RM) fdrc.com

