Makefile: can now give some CLI parameters.
This commit is contained in:
parent
ec03af7e3b
commit
988307e09e
@ -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…
Reference in New Issue
Block a user