Skip to content

Commit

Permalink
Append CFLAGS/LDFLAGS to any flags already set, so custom builds with…
Browse files Browse the repository at this point in the history
… non-standard include paths can work.

NOTE: This is a manual merge of argv0@27de53b
  • Loading branch information
IPredator committed Apr 7, 2014
1 parent 13276f6 commit 6a0673c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man

CFLAGS = -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include -I/usr/include/libev
LDFLAGS = -lssl -lcrypto -lev -L/usr/local/lib
CFLAGS += -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include
LDFLAGS += -lssl -lcrypto -lev -L/usr/local/lib
OBJS = stud.o ringbuffer.o configuration.o

all: realall
Expand Down

0 comments on commit 6a0673c

Please sign in to comment.