dassd
Some checks failed
/ deploy (push) Failing after 56s

This commit is contained in:
Minecon724 2024-10-19 16:31:15 +02:00
parent 66f304fc81
commit 23e861ad54
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -1,8 +1,7 @@
# Compiler to use
CC ?= gcc
CFLAGS = -Wall -Wextra -std=gnu23 -I include
LDFLAGS = -lelf
CFLAGS = -Wall -Wextra -std=gnu23 -I include -lelf
# Directory for build outputs
BUILD_DIR := build
@ -33,7 +32,7 @@ debug: $(TARGET)
# Rule to link object files into the final executable
$(TARGET): $(OBJS) | $(BUILD_DIR)
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
$(CC) $(CFLAGS) $^ -o $@
du -b $(TARGET) # Size of the executable in bytes
# Rule to compile source files into object files