10
0
mirror of https://gitlab.com/scemama/eplf synced 2024-12-22 04:14:17 +01:00
eplf/Makefile

39 lines
727 B
Makefile
Raw Normal View History

2010-06-30 00:03:01 +02:00
include version
2010-10-08 12:36:02 +02:00
include make.config
2010-06-30 00:03:01 +02:00
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
2012-03-08 13:10:33 +01:00
EZFIO.tar.gz:
ln -s EZFIO.*.tar.gz EZFIO.tar.gz
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
2020-06-03 00:28:14 +02:00
cd EZFIO
2009-12-04 10:42:19 +01:00
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
2020-06-03 00:28:14 +02: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