source: libcaca/trunk/python/Makefile.am @ 3646

Last change on this file since 3646 was 2060, checked in by Sam Hocevar, 13 years ago
  • Added Eriol’s snake.py example, even if it doesn’t use our (out of date) bindings.
  • Distribute the python/ subdirectory using automake.
File size: 413 bytes
Line 
1# $Id: $
2
3EXTRA_DIST = caca.txt pypycaca.c pypycaca.h snake.py test1.py test2.py
4
5CC = gcc
6RM = rm -f
7CACAFLAGS = `caca-config --cflags`
8CACALIBS  = `caca-config --libs`
9
10PYTHONFLAGS = -I/usr/include/python2.4
11PYTHONLIBS = -lpython2.4
12
13NAME = caca.so
14
15all:
16
17python:
18        $(CC) pypycaca.c -c $(CACAFLAGS) $(PYTHONFLAGS) -Wall
19        $(LD) pypycaca.o -o $(NAME) $(CACALIBS) $(PYTHONLIBS) -shared
20
21
22clean:
23        $(RM) *.o $(NAME)
Note: See TracBrowser for help on using the repository browser.