fix ldflags
This commit is contained in:
parent
906afb2600
commit
ed4409c942
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -5,7 +5,7 @@ SOURCES = $(wildcard src/*.c)
|
||||||
OBJETS = $(patsubst %.c,%.o,$(notdir $(SOURCES)))
|
OBJETS = $(patsubst %.c,%.o,$(notdir $(SOURCES)))
|
||||||
|
|
||||||
CFLAGS = -std=gnu17 -pedantic
|
CFLAGS = -std=gnu17 -pedantic
|
||||||
LDFLAGS =
|
LDFLAGS = -lhid -lsetupapi
|
||||||
|
|
||||||
EXE = rvuw
|
EXE = rvuw
|
||||||
EXE_EXT = exe
|
EXE_EXT = exe
|
||||||
|
@ -19,8 +19,7 @@ compilation: $(OBJETS)
|
||||||
main: CFLAGS += -O3
|
main: CFLAGS += -O3
|
||||||
main: compilation
|
main: compilation
|
||||||
|
|
||||||
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes
|
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -fanalyzer -g -Og
|
||||||
dev: CFLAGS += -fanalyzer -g -Og
|
|
||||||
dev: compilation
|
dev: compilation
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
Loading…
Reference in a new issue