source: libcaca/trunk/python/Makefile @ 521

Last change on this file since 521 was 518, checked in by Jean-Yves Lamoureux, 14 years ago
  • Added -preliminary- Python bindings
File size: 321 bytes
Line 
1CC = gcc
2RM = rm -f
3CACAFLAGS = `caca-config --cflags`
4CACALIBS  = `caca-config --libs`
5
6PYTHONFLAGS = -I/usr/include/python2.4
7PYTHONLIBS = -lpython2.4
8
9NAME = caca.so
10
11all:
12        $(CC) pypycaca.c -c $(CACAFLAGS) $(PYTHONFLAGS) -Wall
13        $(LD) pypycaca.o -o $(NAME) $(CACALIBS) $(PYTHONLIBS) -shared
14
15
16clean:
17        $(RM) *.o $(NAME)
Note: See TracBrowser for help on using the repository browser.