]> git.cworth.org Git - xoboot/blob - Makefile
Initial commit of xoboot
[xoboot] / Makefile
1 APPS=xoboot
2
3 MYCFLAGS=`pkg-config --cflags gtk+-2.0 cairo` -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
4 MYLDFLAGS=`pkg-config --libs gtk+-2.0 cairo`
5
6 all: $(APPS)
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 $(APPS) *.o *.png