summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c2c26821e..82f6331b2c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@
include config.mak
+.SUFFIXES:
###### variable declarations #######
@@ -837,6 +838,15 @@ all: $(ALL_PRG-yes)
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
+%.o: %.S
+ $(CC) $(ASFLAGS) -c -o $@ $<
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+%.o: %.cpp
+ $(CC) $(CXXFLAGS) -c -o $@ $<
+
%.o: %.m
$(CC) $(CFLAGS) -c -o $@ $<