xbot/mods/test/Makefile

4 lines
92 B
Makefile

gcc -c -fPIC -I../../lib test.c -o test.o
gcc test.o -shared test.so
mv test.so ..
rm test.o