Skip to content

Commit

Permalink
Add a regular Makefile for building outside Watcom IDE
Browse files Browse the repository at this point in the history
The Watcom IDE files might be removed in the future.
  • Loading branch information
nielsmh committed Jun 4, 2024
1 parent 210485b commit 6a6435b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
*.obj
*.err
*.lk1
*.mk1
*.mk
*.map
*.sym
*.res
*.re@
.vscode/
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CXXFLAGS=-w4 -e25 -zq -od -of -d0 -bt=dos -fo=.obj -mc -xs -xr

dos_objects = tbdos.obj aspiintf.obj scsiintf.obj
dos_exe = scsitb.exe

.cpp: dos\;win\

.cpp.obj: .AUTODEPEND
wcl -c -cc++ -q $(CXXFLAGS) $[*

scsitb.exe: $(dos_objects)
wcl -l=dos -q -lr -fe=$^. $(dos_objects)

clean: .SYMBOLIC
del *.err
del $(dos_exe)
del $(dos_objects)

all: $(dos_exe)
Binary file modified scsitb.exe
Binary file not shown.

0 comments on commit 6a6435b

Please sign in to comment.