You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
321 B

  1. CC = gcc
  2. RM = rm -f
  3. CACAFLAGS = `caca-config --cflags`
  4. CACALIBS = `caca-config --libs`
  5. PYTHONFLAGS = -I/usr/include/python2.4
  6. PYTHONLIBS = -lpython2.4
  7. NAME = caca.so
  8. all:
  9. $(CC) pypycaca.c -c $(CACAFLAGS) $(PYTHONFLAGS) -Wall
  10. $(LD) pypycaca.o -o $(NAME) $(CACALIBS) $(PYTHONLIBS) -shared
  11. clean:
  12. $(RM) *.o $(NAME)