Skip to content

Commit ebedb60

Browse files
committed
feat(nmake): add nmake tool to establish stable assembly proj
1 parent 5a729b9 commit ebedb60

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

demo/C1.EXE

764 Bytes
Binary file not shown.

demo/Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
NAME = c1
2+
3+
EXE = $(NAME).exe
4+
OBJS = $(NAME).obj
5+
SRCS = $(NAME).asm
6+
7+
LINK_FLAG = /subsystem:windows
8+
ML_FLAG = /c/coff
9+
MASM_FLAG = /Zi/Zd
10+
11+
$(EXE): $(OBJS)
12+
link $(LINK_FLAG) $(OBJS)
13+
14+
$(OBJS): $(SRCS)
15+
masm $(MASM_FLAG) $(SRCS)
16+
17+
clean:
18+
del *.obj && del *.tr
19+
20+
test:
21+
td $(EXE)

tools/nmake.exe

92 KB
Binary file not shown.

0 commit comments

Comments
 (0)