Code

* remove code duplication from pdf-cairo extension
[inkscape.git] / src / display / makefile.in
index 9d9426809cf56fd8b290db41641cb55b6be790d3..747f18e118040f181d05222f7851012e434c3798 100644 (file)
@@ -2,16 +2,16 @@
 
 @SET_MAKE@
 
+OBJEXT = @OBJEXT@
+
 # Explicit so that it's the default rule.
 all:
        cd .. && $(MAKE) display/all
 
-clean %.a %.o:
+clean %.a %.$(OBJEXT):
        cd .. && $(MAKE) display/$@
 
 .PHONY: all clean
 
-OBJEXT = @OBJEXT@
-
 .SUFFIXES:
 .SUFFIXES: .a .$(OBJEXT)