Skip to content

Commit 9055d3c

Browse files
committed
Remove invalid !elif statement from common.inc
1 parent 6464728 commit 9055d3c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

common.inc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,10 @@ clean: .SYMBOLIC
4646
@!if [ -e $(OBJDIR) ]; then rm -R $(OBJDIR); fi
4747
@!if [ -e $(BINDIR)lua$(PLATFORM).exe ]; then rm $(BINDIR)lua$(PLATFORM).exe; fi
4848
@!if [ -e $(BINDIR)luac$(PLATFORM).exe ]; then rm $(BINDIR)luac$(PLATFORM).exe; fi
49-
!elif __NT__
50-
@!if exist $(OBJDIR) rd /S /Q $(OBJDIR)
49+
!else # Assuming DOS 5.0 +
5150
@!if exist $(BINDIR)$(SEP)lua$(PLATFORM).exe del $(BINDIR)$(SEP)lua$(PLATFORM).exe
5251
@!if exist $(BINDIR)$(SEP)luac$(PLATFORM).exe del $(BINDIR)$(SEP)luac$(PLATFORM).exe
53-
!else # Assuming DOS 5.0
54-
@!if exist $(BINDIR)$(SEP)lua$(PLATFORM).exe del $(BINDIR)$(SEP)lua$(PLATFORM).exe
55-
@!if exist $(BINDIR)$(SEP)luac$(PLATFORM).exe del $(BINDIR)$(SEP)luac$(PLATFORM).exe
56-
@!if exist $(OBJDIR)$(SEP)*.* echo Clean compiler objects manually with `DEL $(OBJDIR)$(SEP)*.*` and `RD $(OBJDIR)`
52+
@!if exist $(OBJDIR)$(SEP)*.* echo Run `DEL $(OBJDIR)$(SEP)*.* && RD $(OBJDIR)` to clean compiler objects
5753
!endif
5854

5955
dist:

0 commit comments

Comments
 (0)