2010-06-30 00:03:01 +02:00
|
|
|
include version
|
|
|
|
|
2009-10-29 18:57:46 +01:00
|
|
|
|
2009-12-04 10:42:19 +01:00
|
|
|
all: bin/eplf
|
2009-10-29 18:57:46 +01:00
|
|
|
|
2009-12-04 10:42:19 +01:00
|
|
|
EZFIO/config/eplf.config: EZFIO.tar.gz
|
2009-12-04 16:14:23 +01:00
|
|
|
tar -zxf EZFIO.tar.gz
|
2009-12-04 10:42:19 +01:00
|
|
|
cd EZFIO ; ./configure
|
|
|
|
if [ -e $@ ] ; then rm $@ ; fi
|
|
|
|
ln -s $$PWD/eplf.config $@
|
2010-06-30 00:03:01 +02:00
|
|
|
touch EZFIO/config/eplf.config
|
2009-10-29 18:57:46 +01:00
|
|
|
|
2009-12-04 10:42:19 +01:00
|
|
|
EZFIO/lib/libezfio.so: EZFIO/config/eplf.config
|
2009-10-29 18:57:46 +01:00
|
|
|
make -C EZFIO/
|
2010-06-22 12:35:25 +02:00
|
|
|
cp EZFIO/Python/ezfio.py scripts/
|
2009-10-29 18:57:46 +01:00
|
|
|
|
|
|
|
bin/ezfio.py: EZFIO/lib/libezfio.so
|
2009-12-04 10:42:19 +01:00
|
|
|
if [ -e $@ ] ; then rm $@ ; fi
|
|
|
|
ln -s $$PWD/EZFIO/Python/ezfio.py $@
|
2009-10-29 18:57:46 +01:00
|
|
|
|
|
|
|
bin/eplf: EZFIO/lib/libezfio.so
|
|
|
|
make -C src
|
2009-12-04 10:42:19 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
- rm -rf EZFIO
|
|
|
|
- rm bin/eplf
|
|
|
|
- rm bin/ezfio.py
|
|
|
|
- make -C src veryclean
|
2010-05-27 18:11:19 +02:00
|
|
|
|
2010-06-30 00:03:01 +02:00
|
|
|
|
2010-05-27 18:11:19 +02:00
|
|
|
archive:
|
2010-06-30 00:03:01 +02:00
|
|
|
git archive --format=tar HEAD | gzip > eplf.$(VERSION).tar.gz
|
|
|
|
cp bin/to_ezfio.exe to_ezfio.$(VERSION).exe
|
|
|
|
|