repo.or.cz
/
ArchLinux
/
community.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
archrelease: copy trunk to community-any
[ArchLinux/community.git]
/
sl
/
trunk
/
system_ldflags.patch
blob
2cd1f1f2f0d5ec7d1cbed31c62d1e410bf9855ad
1
--- Makefile 2022-02-02 20:30:23.352782993 -0800
2
+++ Makefile 2022-02-02 20:33:32.503983729 -0800
3
@@ -8,11 +8,12 @@
4
5
CC=gcc
6
CFLAGS=-O3 -Wall
7
+LDFLAGS+=-lncurses
8
9
all: sl
10
11
sl: sl.c sl.h
12
- $(CC) $(CFLAGS) -o sl sl.c -lncurses
13
+ $(CC) $(CFLAGS) -o sl sl.c $(LDFLAGS)
14
15
clean:
16
rm -f sl
17