diff --git a/Makefile b/Makefile index 13c758b..8ea4801 100644 --- a/Makefile +++ b/Makefile @@ -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