Skip to content

Commit 2756f81

Browse files
committed
Refactored Watcom Makefiles to display help when run without any rule parameters.
1 parent 7a2391c commit 2756f81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ BINDIR = dist$(SEP)bin
3232
OBJDIR = obj$(SEP)$(PLATFORM)
3333
SRCDIR = lua
3434

35+
help: .SYMBOLIC
36+
@!echo "Build the standard Lua interpreter: $(BINDIR)$(SEP)LUA$(PLATFORM)$(SUFFIX)"
37+
@!echo "Build the experimental JIT interpreter: $(BINDIR)$(SEP)LUAC$(PLATFORM)$(SUFFIX)"
38+
@!echo "Clean all previous builds: clean"
39+
3540
$(BINDIR)$(SEP)LUA$(PLATFORM)$(SUFFIX): $(OBJDIR) $(BINDIR) $(objs) $(lua_obj) $(XTRA)
3641
*wlink NAME $@ $(LFLAGS) FILE {$(objs) $(lua_obj)}
3742

0 commit comments

Comments
 (0)