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

Last change on this file since 4333 was 4333, checked in by Sam Hocevar, 10 years ago

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

File size: 403 bytes
Line 
1
2EXTRA_DIST = caca.txt pypycaca.c pypycaca.h snake.py test1.py test2.py
3
4CC = gcc
5RM = rm -f
6CACAFLAGS = `caca-config --cflags`
7CACALIBS  = `caca-config --libs`
8
9PYTHONFLAGS = -I/usr/include/python2.4
10PYTHONLIBS = -lpython2.4
11
12NAME = caca.so
13
14all:
15
16python:
17        $(CC) pypycaca.c -c $(CACAFLAGS) $(PYTHONFLAGS) -Wall
18        $(LD) pypycaca.o -o $(NAME) $(CACALIBS) $(PYTHONLIBS) -shared
19
20
21clean:
22        $(RM) *.o $(NAME)
Note: See TracBrowser for help on using the repository browser.