From 65d4fc76d82804ad2d08073e3bf71592480819e1 Mon Sep 17 00:00:00 2001 From: empathicqubit Date: Sun, 1 Jan 2023 00:03:21 +0100 Subject: [PATCH] More detailed compile --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0fe8558..7fa22a8 100644 --- a/Makefile +++ b/Makefile @@ -45,9 +45,13 @@ $(BUILD)/gdb.lst: | $(BUILD) done .PRECIOUS: $(BUILD)/%.o -$(BUILD)/%.o: %.s | $(BUILD) +$(BUILD)/%.o: $(BUILD)/%.o.asm | $(BUILD) $(call source_compile,-c) -.PRECIOUS: $(BUILD)/%.o -$(BUILD)/%.o: %.c | $(BUILD) - $(call source_compile,-c) \ No newline at end of file +.PRECIOUS: $(BUILD)/%.o.asm +$(BUILD)/%.o.asm: %.s | $(BUILD) + $(call source_compile,-S) + +.PRECIOUS: $(BUILD)/%.o.asm +$(BUILD)/%.o.asm: %.c | $(BUILD) + $(call source_compile,-S) \ No newline at end of file