mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-25 14:54:53 +02:00
Makefile: rename CCFLAGS to CFLAGS
the latter is the standard way of naming it. it was pretty surprising when doing make CFLAGS="-O0 -g" ended up running `gcc -O0 -g -O3 ...`
This commit is contained in:
parent
e4d1bde5bb
commit
367697a24f
@ -1,4 +1,4 @@
|
||||
CCFLAGS ?= -std=c99 -O3
|
||||
CFLAGS ?= -std=c99 -O3
|
||||
|
||||
TARGET = pixiewps
|
||||
CRYPTO = mbedtls/sha256.c mbedtls/md.c mbedtls/md_wrap.c
|
||||
@ -9,10 +9,10 @@ PREFIX ?= $(DESTDIR)/usr
|
||||
BINDIR = $(PREFIX)/bin
|
||||
|
||||
all:
|
||||
$(CC) $(CFLAGS) $(CCFLAGS) $(CPPFLAGS) -o $(TARGET) $(SOURCE) $(LIBS) $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $(TARGET) $(SOURCE) $(LIBS) $(LDFLAGS)
|
||||
|
||||
debug:
|
||||
$(CC) $(CLFAGS) $(CCFLAGS) $(CPPFLAGS) -DDEBUG -o $(TARGET) $(SOURCE) $(LIBS) $(LDFLAGS)
|
||||
$(CC) $(CLFAGS) $(CPPFLAGS) -DDEBUG -o $(TARGET) $(SOURCE) $(LIBS) $(LDFLAGS)
|
||||
|
||||
install:
|
||||
rm -f $(BINDIR)/$(TARGET)
|
||||
|
Loading…
x
Reference in New Issue
Block a user