fix ldflags

This commit is contained in:
Mylloon 2024-04-03 13:20:53 +02:00
parent 906afb2600
commit ed4409c942
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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: