1 --- ap_draw.cpp 2009-11-17 01:05:34.000000000 +0200
2 +++ ap_draw.cpp 2010-07-11 00:45:23.997080263 +0300
4 #include "asciiportal.h"
7 -#include "sdl1/pdcsdl.h"
12 diff -ruiN ../old//ap_input.cpp ./ap_input.cpp
13 --- ap_input.cpp 2009-11-19 13:02:54.000000000 +0200
14 +++ ap_input.cpp 2010-07-11 00:39:35.923427753 +0300
17 #include "asciiportal.h"
19 -#include "sdl1/pdcsdl.h"
24 --- ASCIIpOrtal-linux-Makefile.txt 2009-11-14 13:39:36.000000000 +0200
25 +++ ASCIIpOrtal-linux-Makefile.txt 2010-07-11 01:48:54.023319988 +0300
27 PACKAGENAME = asciiportal-linux64
28 WINDOWSZIP = asciiportal.zip
31 +CXXFLAGS = -O2 `xcurses-config --cflags`
44 tar cvfz $(PACKAGENAME).tar.gz $(PACKAGENAME)
46 %.o: %.cpp $(PDCSDLDIR)
47 - g++ -I $(PDCSDLDIR) -c $(GPPOPTS) $<
49 -asciiportal: al_input.o ap_draw.o ap_play.o ap_sound.o main.o menu.o $(PDCSDLDIR)/sdl1/libpdcurses.a
50 - g++ $^ -lSDL -lSDL_mixer -o $@
52 -$(PDCSDLDIR)/sdl1/libpdcurses.a: $(PDCSDLDIR)
53 - cd `dirname $@` && make
55 -$(PDCSDLDIR): PDCurses-$(PDCSVER).tar.gz
58 -PDCurses-$(PDCSVER).tar.gz:
59 - wget http://sourceforge.net/projects/pdcurses/files/pdcurses/$(PDCSVER)/PDCurses-$(PDCSVER).tar.gz/download
60 - if [[ ! -f $@ ]]; then echo "Download of $@ failed, please provide file."; exit; fi
62 + g++ -c $(GPPOPTS) $<
64 +ASCIIpOrtal: ap_input.o ap_draw.o ap_play.o ap_sound.o main.o menu.o
65 + g++ $^ -lSDL -lSDL_mixer /usr/lib/libpdcurses.a -o $@