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

Last change on this file since 4228 was 2060, checked in by Sam Hocevar, 12 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
RevLine 
[2060]1# $Id: $
2
3EXTRA_DIST = caca.txt pypycaca.c pypycaca.h snake.py test1.py test2.py
4
[518]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:
[2060]16
17python:
[518]18        $(CC) pypycaca.c -c $(CACAFLAGS) $(PYTHONFLAGS) -Wall
19        $(LD) pypycaca.o -o $(NAME) $(CACALIBS) $(PYTHONLIBS) -shared
20
21
22clean:
[2060]23        $(RM) *.o $(NAME)
Note: See TracBrowser for help on using the repository browser.