diff options
Diffstat (limited to 'src/gallium/Makefile.template')
-rw-r--r-- | src/gallium/Makefile.template | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template index 136423513c6..5d9d2db7866 100644 --- a/src/gallium/Makefile.template +++ b/src/gallium/Makefile.template @@ -53,13 +53,16 @@ install: ##### RULES ##### -.c.o: +%.s: %.c + $(CC) -S $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -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 $@ |