blob: 914352265a8fbe32f8d59000eacc00e587e8140e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
ALL=svg2png
MYCFLAGS=`pkg-config --cflags librsvg-2.0 cairo-png` -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
MYLDFLAGS=`pkg-config --libs librsvg-2.0 cairo-png`
all: $(ALL)
%.o: %.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $< -o $@
%: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $(MYLDFLAGS) $^ -o $@
clean:
rm -f $(ALL) *.o
|