1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
## Process this file with automake to produce Makefile.in
# Subdirectories to scan
SUBDIRS = . docs intl macros man po src tests win32
# Script to install
bin_SCRIPTS = ticalcs-config
# Extra files to add to the (distributed) package
EXTRA_DIST = docs win32 LOGO osx
dos2unix:
dos2unix
lowercase
uppercase
cd src; ${MAKE} dos2unix
lines:
wc -l *.c *.h
# This target retrieve some files from my Win$ partition to my Linux one
SRC_DIR=/dos/d/devel/tilp_project/ti_libs/calcs
DST_DIR=/root/devel/tilp_project/ti_libs/calcs
win2lin: $(C_FILES)
@echo Merging files from Win32 to Linux...
@echo dir1
@for I in $(SRC_DIR)/src/*.c ; do \
cp $$I $(DST_DIR)/src; \
done
@for I in $(SRC_DIR)/src/*.h ; do \
cp $$I $(DST_DIR)/src; \
done
cd $(DST_DIR)/src; dos2unix; lowercase; uppercase;
@echo dir2
@for I in $(SRC_DIR)/tests/*.c ; do \
cp $$I $(DST_DIR)/tests; \
done
cd $(DST_DIR)/tests; dos2unix; lowercase; uppercase;
@echo dir3
@for I in $(SRC_DIR)/win32/*.* ; do \
cp $$I $(DST_DIR)/win32; \
done
# cp -Rfv $(SRC_DIR)/InstallShield $(DST_DIR)/
@echo Done
|