aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-03 20:32:23 +0900
committernsfisis <nsfisis@gmail.com>2025-09-03 20:32:23 +0900
commit256cbd88c53d15884f3519ce75890c7bd1626cb2 (patch)
treeec9944a414d2627fd84f0edfe14e279ae14d2425 /Makefile
parentb845c3cebf6ae86036a85bbdc155def5044c9940 (diff)
downloadducc-256cbd88c53d15884f3519ce75890c7bd1626cb2.tar.gz
ducc-256cbd88c53d15884f3519ce75890c7bd1626cb2.tar.zst
ducc-256cbd88c53d15884f3519ce75890c7bd1626cb2.zip
build: disable hardening of Nix GCC
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3e3a420..773f3d7 100644
--- a/Makefile
+++ b/Makefile
@@ -24,9 +24,11 @@ all: $(BUILD_DIR) $(BUILD_ROOT_DIR)/$(TARGET)
$(BUILD_DIR):
@mkdir -p $(BUILD_DIR)
+# TODO: provide release build?
$(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS)
$(CC) -Wall -MMD -g -O0 -o $@ $^
+# TODO: provide release build?
$(BUILD_DIR)/%.o: src/%.c
$(CC) -c -Wall -MMD -g -O0 -o $@ $<