aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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 $@ $<