build: Pull common fragments into a build.rules file
Some things are used by most of the binaries, pull them into a common rule fragment that we can use properly. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
21cc50a434
commit
a41a29192e
9 changed files with 74 additions and 212 deletions
|
@ -1,18 +1,6 @@
|
|||
ALL=radius_example
|
||||
|
||||
all: $(ALL)
|
||||
|
||||
ifndef CC
|
||||
CC=gcc
|
||||
endif
|
||||
|
||||
ifndef LDO
|
||||
LDO=$(CC)
|
||||
endif
|
||||
|
||||
ifndef CFLAGS
|
||||
CFLAGS = -MMD -O2 -Wall -g
|
||||
endif
|
||||
include ../src/build.rules
|
||||
|
||||
CFLAGS += -I.
|
||||
CFLAGS += -I../src
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue