I have a makefile that looks like this:
remove and insert are fine, move has a problem. It doesnt use the shared libs just created and it rebuilds everything.Code:str_remove.o : str_remove.c gcc -c str_remove.c gcc -fPIC -shared -o libstr_remove.so str_remove.o str_insert.o : str_insert.c gcc -c str_insert.c gcc -fPIC -shared -o libstr_insert.so str_insert.o str_move.o : str_move.c str_remove.c str_insert.c gcc -c str_move.c str_remove.c str_insert.c gcc -fPIC -shared -o libstr_move.so str_move.o
How should i do it?
Thanks



LinkBack URL
About LinkBacks


