AUTO_LT_SYNC
[tore.git] / pytx / Makefile
blobe038a0f8405b76b65f65cd5726caa839555408ba
1 INCLUDE = -I/usr/include/ncurses -I/usr/include/python2.5
2 OBJS = txobj.o txlist.o txops.o txbox.o sort.o pytx.o
5 all: $(OBJS)
6 #gcc -std=c99 -g -Wall -fPIC $(INCLUDE) -c -o $*.o $<
7 gcc -shared $(OBJS) -o pytx.so -lncurses -lpanel -lm -lpython2.5
9 mac: $(OBJS)
10 gcc -g -dynamiclib $(OBJS) -o pytx.so -lncurses -lpanel -lm -lpython2.5
12 %.o: %.c *.h
13 gcc -Wall -fPIC $(INCLUDE) -c -o $*.o $<
15 clean:
16 rm -rf *.o pytx.so
18 run:
19 python txtor.py