Skip to content

Commit

Permalink
Remove mingw from makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Apr 24, 2024
1 parent 0f3d115 commit 0144e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RM= rm -f
# == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======

# Convenience platforms targets.
PLATS= guess aix bsd freebsd generic linux linux-readline macosx mingw posix solaris
PLATS= guess aix bsd freebsd generic linux linux-readline macosx posix solaris

# What to install.
TO_BIN= pluto plutoc
Expand Down
8 changes: 1 addition & 7 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ CMCFLAGS=

# == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======

PLATS= guess aix bsd freebsd generic linux linux-readline macosx mingw posix solaris
PLATS= guess aix bsd freebsd generic linux linux-readline macosx posix solaris

LUA_A= libplutostatic.a
LUA_SO= libpluto.so
Expand Down Expand Up @@ -133,12 +133,6 @@ linux-readline:
Darwin macos macosx:
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" SYSLIBS="-lresolv -lreadline"

mingw:
$(MAKE) "LUA_A=libpluto.dll" "LUA_T=pluto.exe" \
"AR=$(CXX) -shared -o" "RANLIB=strip --strip-unneeded" \
"SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" pluto.exe
$(MAKE) "LUAC_T=plutoc.exe" plutoc.exe

posix:
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX"

Expand Down

0 comments on commit 0144e93

Please sign in to comment.