mirror of
https://github.com/skeeto/endlessh.git
synced 2024-11-07 07:03:59 +01:00
Use CPPFLAGS in the Makefile (closes #43)
Debian uses CPPFLAGS to pass arguments like -D_FORTIFY_SOURCE=2.
This commit is contained in:
parent
8daa5992f1
commit
4cb4fc6eac
13
Makefile
13
Makefile
@ -1,14 +1,15 @@
|
||||
.POSIX:
|
||||
CC = cc
|
||||
CFLAGS = -std=c99 -Wall -Wextra -Wno-missing-field-initializers -Os
|
||||
LDFLAGS = -ggdb3
|
||||
LDLIBS =
|
||||
PREFIX = /usr/local
|
||||
CC = cc
|
||||
CFLAGS = -std=c99 -Wall -Wextra -Wno-missing-field-initializers -Os
|
||||
CPPFLAGS =
|
||||
LDFLAGS = -ggdb3
|
||||
LDLIBS =
|
||||
PREFIX = /usr/local
|
||||
|
||||
all: endlessh
|
||||
|
||||
endlessh: endlessh.c
|
||||
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ endlessh.c $(LDLIBS)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ endlessh.c $(LDLIBS)
|
||||
|
||||
install: endlessh
|
||||
install -d $(DESTDIR)$(PREFIX)/bin
|
||||
|
Loading…
Reference in New Issue
Block a user