Last active
October 17, 2015 20:28
-
-
Save artemkonenko/a481f23f68f4920a1afa to your computer and use it in GitHub Desktop.
Make MASM file with wine and dosbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASKN=1 | |
run: Task$(TASKN).exe | |
dosbox -c "A:" -c "cd TASK$(TASKN)" -c "TASK$(TASKN).EXE" -c "exit" | |
# Linker | |
Task$(TASKN).exe: Task$(TASKN).obj | |
wine ~/WApp/RAD/masm32/Bin/DOSLNK.EXE "Task$(TASKN).obj","Task$(TASKN).exe","Task$(TASKN).map",,, | |
# Compiler | |
Task$(TASKN).obj: Task$(TASKN).Asm | |
wine ~/WApp/RAD/RadAsm/MASM/DOS/ML.EXE /DMASM /DDOS /Zm /c /nologo /I"~/WApp/RAD/masm32/Include" "Task$(TASKN).asm" | |
clean: | |
rm -f Task$(TASKN).obj Task$(TASKN).exe Task$(TASKN).map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment