Added Mac build support C flag
This commit is contained in:
parent
948a2d8766
commit
2803ad9ad7
@ -5,6 +5,9 @@ CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
|
||||
CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\
|
||||
-Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits
|
||||
#CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
ifeq($(shell uname -s),Darwin)
|
||||
CFLAGS += -D_DARWIN_C_SOURCE
|
||||
endif
|
||||
G=
|
||||
|
||||
all: ctest rainbow
|
||||
|
@ -5,6 +5,9 @@ CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
|
||||
CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\
|
||||
-Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits
|
||||
#CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
ifeq($(shell uname -s),Darwin)
|
||||
CFLAGS += -D_DARWIN_C_SOURCE
|
||||
endif
|
||||
G=
|
||||
LUA_DIR=/usr/local
|
||||
LUA_INC=$(LUA_DIR)/include
|
||||
|
3
Makefile
3
Makefile
@ -5,6 +5,9 @@ CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
|
||||
CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\
|
||||
-Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits
|
||||
#CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
ifeq($(shell uname -s),Darwin)
|
||||
CFLAGS += -D_DARWIN_C_SOURCE
|
||||
endif
|
||||
G=
|
||||
|
||||
all: checksyntax
|
||||
|
@ -5,6 +5,9 @@ CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
|
||||
CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\
|
||||
-Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits
|
||||
#CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
ifeq($(shell uname -s),Darwin)
|
||||
CFLAGS += -D_DARWIN_C_SOURCE
|
||||
endif
|
||||
G=
|
||||
|
||||
all: libbtui.so
|
||||
|
Loading…
Reference in New Issue
Block a user