From: Chris Li Date: Sat, 6 Feb 2010 05:25:17 +0000 (-0800) Subject: gallium: Adding the %.s rule to generate asm code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8f4904fb33f4fe5da560f85ecf003601e0ec06a;p=mesa.git gallium: Adding the %.s rule to generate asm code Signed-off-by: José Fonseca --- diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template index 35f603a84e0..5d9d2db7866 100644 --- a/src/gallium/Makefile.template +++ b/src/gallium/Makefile.template @@ -53,6 +53,9 @@ install: ##### RULES ##### +%.s: %.c + $(CC) -S $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@ + %.o: %.c $(CC) -c $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@