commit 43f39da
uint
·
2026-05-12 09:34:12 +0000 UTC
parent 8af9efb
add macOS and X11 build flags
1 files changed,
+7,
-1
M
Makefile
M
Makefile
+7,
-1
1@@ -1,7 +1,13 @@
2 CC = cc
3 CFLAGS = -std=c99 -Wall -Wextra
4 CPPFLAGS = -Isource/external -Isource/include
5-LDFLAGS = -lschrift -lgrapheme -framework Cocoa -framework CoreVideo -framework IOKit -framework CoreGraphics -framework CoreFoundation -framework Carbon
6+LDFLAGS = -lschrift -lgrapheme -lm
7+
8+# X11
9+#LDFLAGS += -lX11 -lXrandr
10+
11+# macOS
12+# LDFLAGS += -framework Cocoa -framework CoreVideo -framework IOKit -framework CoreGraphics -framework CoreFoundation -framework Carbon
13
14 SRCS = source/cterm.c \
15 source/util.c \