# GNU compiler arguments # parse.p is a 4GL program that uses the shared library. You can either # specifically state where the library is, or install the library in the # proper location. # main is a C based test program. You can either install the library # or set the environmental variable "LD_LIBRARY_PATH=." so the dynamic linker # can find the library. main: libprsimport.so.1 main.c gcc -o main main.c libprsimport.so.1 libprsimport.so.1: prsimport.c gcc -shared -o libprsimport.so.1 prsimport.c clean: rm main libprsimport.so.1 core