File: makefile-append-cflags

package info (click to toggle)
nsxiv 31-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 484 kB
  • sloc: ansic: 4,863; makefile: 99; sh: 83
file content (16 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Append CFLAGS
Author: Nick Morrott <nickm@debian.org>
Forwarded: not-needed
Last-Update: 2022-08-11
---
--- a/config.mk
+++ b/config.mk
@@ -24,7 +24,7 @@
 # Compiler and linker
 CC = c99
 # CFLAGS, any optimization flags goes here
-CFLAGS = -Wall -pedantic
+CFLAGS += -Wall -pedantic
 
 # icons that will be installed via `make icon`
 ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png