diff options
-rw-r--r-- | src/gallium/Makefile.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template index 136423513c6..35f603a84e0 100644 --- a/src/gallium/Makefile.template +++ b/src/gallium/Makefile.template @@ -53,13 +53,13 @@ install: ##### RULES ##### -.c.o: +%.o: %.c $(CC) -c $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@ -.cpp.o: +%.o: %.cpp $(CXX) -c $(INCLUDES) $(DEFINES) $(CXXFLAGS) $(LIBRARY_DEFINES) $< -o $@ -.S.o: +%.o: %.S $(CC) -c $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@ |