Makefile: can now give some CLI parameters.
This commit is contained in:
parent
ec03af7e3b
commit
988307e09e
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
# Directory to store compiled binaries.
|
||||
BINDIR ?= /tmp/bin/
|
||||
|
||||
CC=clang
|
||||
CFLAGS=-c -Wall -g
|
||||
LDFLAGS=
|
||||
CC ?= clang
|
||||
CFLAGS ?= -c -Wall -g
|
||||
LDFLAGS ?=
|
||||
|
||||
CFILES=$(wildcard *.c)
|
||||
EXEC=$(patsubst %.c,$(BINDIR)%,$(CFILES))
|
||||
|
|
Loading…
Add table
Reference in a new issue