home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48bf7d5
)
Make build rule even more explicit
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 17 Apr 2020 18:29:11 +0000
(14:29 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 17 Apr 2020 18:29:11 +0000
(14:29 -0400)
src/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
400e2ce
..
d672569
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-1,6
+1,8
@@
CPPFLAGS := -D_POSIX_C_SOURCE=200809L
-CFLAGS := -std=c99 -Wall -Wextra
+CFLAGS := -std=c99 -Wall -Wextra
-pedantic
LDLIBS := -lncurses
+LDFLAGS := -s # Remove all symbol table and relocation information from the
+ # executable.
.PHONY: build clean
@@
-9,5
+11,5
@@
build: clockloop
clean:
rm -f clockloop
-clockloop:
- $(CC) $(LD
LIBS) clockloop.c -o clockloop
+clockloop:
clockloop.c
+ $(CC) $(LD
FLAGS) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDLIBS)
This page took
0.027782 seconds
and
4
git commands to generate.