Skip to content

Commit

Permalink
No more Lua on most of the hoat platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
MockbaTheBorg committed Mar 21, 2024
1 parent a9bef8d commit b0eb5fe
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions RunCPM/Makefile.macosx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ CFLAGS+=-ggdb
LDFLAGS = -lm -ldl

# Objects to build
OBJS = main.o lua/liblua.a
OBJS = main.o # lua/liblua.a

# Lua building
LUABUILD = $(MAKE) -C lua
LUACLEAN = $(MAKE) -C lua clean
#LUABUILD = $(MAKE) -C lua
#LUACLEAN = $(MAKE) -C lua clean

# Clean up program
RM = rm -f
Expand All @@ -34,13 +34,13 @@ $(PROG): main.o
$(CC) $(OBJS) -o $(PROG) $(LDFLAGS)

main.o: main.c $(wildcard *.h) $(MFILE)
$(LUABUILD)
# $(LUABUILD)
$(CC) $(CFLAGS) -c main.c

rebuild: clean all

.PHONY: clean
clean:
$(LUACLEAN)
# $(LUACLEAN)
$(RM) *.o
$(RM) $(PROG)
10 changes: 5 additions & 5 deletions RunCPM/Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ CFLAGS = -Wall -O3 -fPIC -Wno-unused-variable
LDFLAGS = -mconsole -lm -ldl

# Objects to build
OBJS = main.o lua/liblua.a
OBJS = main.o # lua/liblua.a

# Lua building
LUABUILD = $(MAKE) -C lua
LUACLEAN = $(MAKE) -C lua clean
#LUABUILD = $(MAKE) -C lua
#LUACLEAN = $(MAKE) -C lua clean

# Clean up program
RM = del /Q
Expand All @@ -33,13 +33,13 @@ $(PROG): main.o
$(CC) $(OBJS) -o $(PROG) $(LDFLAGS)

main.o: main.c $(wildcard *.h) $(MFILE)
$(LUABUILD)
# $(LUABUILD)
$(CC) $(CFLAGS) -c main.c

rebuild: clean all

.PHONY: clean
clean:
$(LUACLEAN)
# $(LUACLEAN)
$(RM) *.o
$(RM) $(PROG)
10 changes: 5 additions & 5 deletions RunCPM/Makefile.msys2
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ CFLAGS = -Wall -O3 -fPIC -Wno-unused-variable
LDFLAGS = -lm

# Objects to build
OBJS = main.o lua/liblua.a
OBJS = main.o # lua/liblua.a

# Lua building
LUABUILD = $(MAKE) -C lua
LUACLEAN = $(MAKE) -C lua clean
#LUABUILD = $(MAKE) -C lua
#LUACLEAN = $(MAKE) -C lua clean

# Clean up program
RM = rm -f
Expand All @@ -33,13 +33,13 @@ $(PROG): main.o
$(CC) $(OBJS) -o $(PROG) $(LDFLAGS)

main.o: main.c $(wildcard *.h) $(MFILE)
$(LUABUILD)
# $(LUABUILD)
$(CC) $(CFLAGS) -c main.c

rebuild: clean all

.PHONY: clean
clean:
$(LUACLEAN)
# $(LUACLEAN)
$(RM) *.o
$(RM) $(PROG)
10 changes: 5 additions & 5 deletions RunCPM/Makefile.posix
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ CFLAGS = -Wall -O3 -fPIC -Wno-unused-variable
LDFLAGS = -lm -ldl

# Objects to build
OBJS = main.o lua/liblua.a
OBJS = main.o # lua/liblua.a

# Lua building
LUABUILD = $(MAKE) -C lua
LUACLEAN = $(MAKE) -C lua clean
#LUABUILD = $(MAKE) -C lua
#LUACLEAN = $(MAKE) -C lua clean

# Clean up program
RM = rm -f
Expand All @@ -33,13 +33,13 @@ $(PROG): main.o
$(CC) $(OBJS) -o $(PROG) $(LDFLAGS)

main.o: main.c $(wildcard *.h) $(MFILE)
$(LUABUILD)
# $(LUABUILD)
$(CC) $(CFLAGS) -c main.c

rebuild: clean all

.PHONY: clean
clean:
$(LUACLEAN)
# $(LUACLEAN)
$(RM) *.o
$(RM) $(PROG)
10 changes: 5 additions & 5 deletions RunCPM/Makefile.tdm
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ CFLAGS = -Wall -O3 -fPIC -Wno-unused-variable
LDFLAGS = -mconsole

# Objects to build
OBJS = main.o lua/liblua.a
OBJS = main.o # lua/liblua.a

# Lua building
LUABUILD = $(MAKE) -C lua mingw
LUACLEAN = $(RM) lua\*.o ; $(RM) lua\*.a ; $(RM) lua\*.exe
#LUABUILD = $(MAKE) -C lua mingw
#LUACLEAN = $(RM) lua\*.o ; $(RM) lua\*.a ; $(RM) lua\*.exe

# Clean up program
RM = del
Expand All @@ -33,13 +33,13 @@ $(PROG): main.o
$(CC) $(OBJS) -o $(PROG) $(LDFLAGS)

main.o: main.c $(wildcard *.h) $(MFILE)
$(LUABUILD)
# $(LUABUILD)
$(CC) $(CFLAGS) -c main.c

rebuild: clean all

.PHONY: clean
clean:
$(LUACLEAN)
# $(LUACLEAN)
$(RM) *.o
$(RM) $(PROG)

0 comments on commit b0eb5fe

Please sign in to comment.