summaryrefslogblamecommitdiff
path: root/Source/Kernel/Ressources/Keymaps/MakeMKM.sh
blob: 056abe2f4a612fe3adb2c9f25906e34e8e0ddcc8 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                     
                                                       


                                             
                                                           



                
#!/bin/sh

#DIR=`pwd`
#DIR=`dirname $DIR`
#cd $DIR

for KM in `ls | grep cxd`; do
	echo "#define THIS_IS_NOT_MELON" > kmtemp.cpp
	echo "#include <cstring>" >> kmtemp.cpp
	echo "#include <WChar.class.cpp>" >> kmtemp.cpp
	echo "#include \"$KM\"" >> kmtemp.cpp
	cat WriteKeymap.cpp >> kmtemp.cpp

	g++ kmtemp.cpp -o kmtemp -I ../../../Library/Common
	./kmtemp
done

rm kmtemp*