xbot/mods/test/Makefile

4 lines
92 B
Makefile
Raw Normal View History

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