]> git.cworth.org Git - svg2png/blob - Makefile
Remove painting of background to white
[svg2png] / Makefile
1 ALL=svg2pdf
2
3 MYCFLAGS=`pkg-config --cflags librsvg-2.0 cairo-pdf` -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
4 MYLDFLAGS=`pkg-config --libs librsvg-2.0 cairo-pdf`
5
6 all: $(ALL)
7
8 %.o: %.c
9         $(CC) -c $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $< -o $@
10
11 %: %.c
12         $(CC) $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $(MYLDFLAGS) $^ -o $@
13
14 clean:
15         rm -f $(ALL) *.o