]> git.cworth.org Git - svg2png/blob - Makefile
Fix copy-paste bug in usage string.
[svg2png] / Makefile
1 ALL=svg2png
2
3 MYCFLAGS=`pkg-config --cflags librsvg-2.0 cairo-png` -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
4 MYLDFLAGS=`pkg-config --libs librsvg-2.0 cairo-png`
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