File: makefile_ldflags

package info (click to toggle)
sickle 1.33%2Bgit20150314.f3d6ae3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,864 kB
  • sloc: ansic: 1,034; xml: 188; makefile: 44; sh: 21
file content (19 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Tim Booth <tbooth@ceh.ac.uk>
Last-Update: Tue, 23 Jun 2015 18:53:25 +0200
Description: Propagate build flags

--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,10 @@
 PROGRAM_NAME = sickle
 VERSION = 1.33
 CC = gcc
-CFLAGS = -Wall -pedantic -DVERSION=$(VERSION)
+CFLAGS += -Wall -pedantic -DVERSION=$(VERSION)
 DEBUG = -g
 OPT = -O3
 ARCHIVE = $(PROGRAM_NAME)_$(VERSION)
-LDFLAGS=
 LIBS = -lz
 SDIR = src