aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..113794b
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,13 @@
+.SUFFIXES: .s .S .c .o
+.s.o:
+ @echo ' CC $^'
+ @$(AS) $(ASFLAGS) -c -o $@ $^
+
+.S.o:
+ @echo ' CC $^'
+ @$(CC) $(CCFLAGS) -c -o $@ $^
+
+.c.o:
+ @echo ' CC $^'
+ @$(CC) $(CCFLAGS) -c -o $@ $^
+