summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.common b/Makefile.common
index 2dd538c..d4e45c3 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,10 +1,10 @@
### explicit rules ###
%.o: %.asm
- @echo "Assembling (nasm) $@..."; nasm -f elf $*.asm -o $@ -f elf -F dwarf -g
-#%.o: %.s
-# i686-elf-as $*.s -o $@
+ @echo "ASM $@ ..."; nasm -f elf $*.asm -o $@ -f elf -F dwarf -g
%.o: %.c
- $(CC) -c $(CFLAGS) $*.c -o $*.o
- $(CC) -MM -MT $*.o $(CFLAGS) $*.c > $*.d
+ @echo "CC $@ ..."; $(CC) -c $(CFLAGS) $*.c -o $*.o
+
+%.d: %.c
+ @echo "DEP $@ ..."; $(CC) -MM -MT $*.o $(CFLAGS) $*.c > $*.d