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)))
|
||||
|
||||
CFLAGS = -std=gnu17 -pedantic
|
||||
LDFLAGS =
|
||||
LDFLAGS = -lhid -lsetupapi
|
||||
|
||||
EXE = rvuw
|
||||
EXE_EXT = exe
|
||||
|
@ -19,8 +19,7 @@ compilation: $(OBJETS)
|
|||
main: CFLAGS += -O3
|
||||
main: compilation
|
||||
|
||||
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes
|
||||
dev: CFLAGS += -fanalyzer -g -Og
|
||||
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -fanalyzer -g -Og
|
||||
dev: compilation
|
||||
|
||||
all:
|
||||
|
|
Loading…
Reference in a new issue