mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 07:16:23 -05:00
Add MSYS2 64bit to the supported toolchains.
This commit is contained in:
parent
bc23d8e4cc
commit
77aa2f156e
37
Makefile
37
Makefile
@ -35,26 +35,31 @@ CFLAGS=-O2 $(WARNINGS)
|
|||||||
ifeq ($(uname_S),Linux)
|
ifeq ($(uname_S),Linux)
|
||||||
DEFINES=-DAUTOCONF -DPROGRAM=$(PROGRAM) -DPOSIX -DUSG
|
DEFINES=-DAUTOCONF -DPROGRAM=$(PROGRAM) -DPOSIX -DUSG
|
||||||
LIBS=-lcurses
|
LIBS=-lcurses
|
||||||
endif
|
else ifeq ($(uname_S),CYGWIN)
|
||||||
ifeq ($(uname_S),FreeBSD)
|
|
||||||
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_FREEBSD_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
|
|
||||||
endif
|
|
||||||
ifeq ($(uname_S),Darwin)
|
|
||||||
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
|
|
||||||
endif
|
|
||||||
ifeq ($(uname_S),CYGWIN)
|
|
||||||
DEFINES=-DAUTOCONF -DCYGWIN -DSYSV -DPROGRAM=$(PROGRAM)
|
DEFINES=-DAUTOCONF -DCYGWIN -DSYSV -DPROGRAM=$(PROGRAM)
|
||||||
LIBS=-lcurses
|
LIBS=-lcurses
|
||||||
endif
|
else ifeq ($(uname_S),MSYS)
|
||||||
ifeq ($(uname_S),MINGW32)
|
DEFINES=-DAUTOCONF -DCYGWIN -DSYSV -DPROGRAM=$(PROGRAM)
|
||||||
# DEFINES=-DAUTOCONF -DSYSV -DMINGW32 -DPROGRAM=$(PROGRAM)
|
LIBS=-lcurses
|
||||||
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -DPROGRAM=$(PROGRAM) -IC:/MinGW/include/ncursesw
|
else ifeq ($(uname_S),NetBSD)
|
||||||
LIBS=
|
|
||||||
endif
|
|
||||||
ifeq ($(uname_S),NetBSD)
|
|
||||||
DEFINES=-DAUTOCONF -DPOSIX -DBSD=1 -DPROGRAM=$(PROGRAM)
|
DEFINES=-DAUTOCONF -DPOSIX -DBSD=1 -DPROGRAM=$(PROGRAM)
|
||||||
LIBS=-lcurses
|
LIBS=-lcurses
|
||||||
|
else
|
||||||
|
$(error $(uname_S) needs configuration)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#ifeq ($(uname_S),FreeBSD)
|
||||||
|
# DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_FREEBSD_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
|
||||||
|
#endif
|
||||||
|
#ifeq ($(uname_S),Darwin)
|
||||||
|
# DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
|
||||||
|
#endif
|
||||||
|
#ifeq ($(uname_S),MINGW32)
|
||||||
|
## DEFINES=-DAUTOCONF -DSYSV -DMINGW32 -DPROGRAM=$(PROGRAM)
|
||||||
|
# DEFINES=-DAUTOCONF -DPOSIX -DSYSV -DPROGRAM=$(PROGRAM) -IC:/MinGW/include/ncursesw
|
||||||
|
# LIBS=
|
||||||
|
#endif
|
||||||
|
|
||||||
#DEFINES=-DAUTOCONF
|
#DEFINES=-DAUTOCONF
|
||||||
#LIBS=-ltermcap # BSD
|
#LIBS=-ltermcap # BSD
|
||||||
#LIBS=-lcurses # SYSV
|
#LIBS=-lcurses # SYSV
|
||||||
@ -134,7 +139,7 @@ depend: ${SRC}
|
|||||||
$(Q) ${CC} ${CFLAGS} ${DEFINES} -c $*.c
|
$(Q) ${CC} ${CFLAGS} ${DEFINES} -c $*.c
|
||||||
|
|
||||||
# DO NOT DELETE THIS LINE -- make depend uses it
|
# DO NOT DELETE THIS LINE -- make depend uses it
|
||||||
# Updated Tue Jun 16 13:25:24 CST 2020
|
# Updated 30 Oct 2020 14:06:39
|
||||||
|
|
||||||
basic.o: basic.c basic.h retcode.h input.h bind.h mlout.h random.h \
|
basic.o: basic.c basic.h retcode.h input.h bind.h mlout.h random.h \
|
||||||
terminal.h defines.h utf8.h window.h buffer.h line.h
|
terminal.h defines.h utf8.h window.h buffer.h line.h
|
||||||
|
Loading…
Reference in New Issue
Block a user