| all: $(DIR_MAKEFILE)/audio-ctrl-service-interface |
| |
| $(DIR_MAKEFILE)/audio-ctrl-service-interface: |
| $(CC) -c -fPIC -I./$(DIR_MAKEFILE) $(DIR_MAKEFILE)/audio-ctrl-service-interface.c |
| install -d $(DIR_MAKEFILE) |
| install -d $(BUILD_OBJ) |
| mv *.o $(BUILD_OBJ) |
| $(CXX) -shared -Wl,-soname,libaudio-ctrl-service-interface.so.1 -o libaudio-ctrl-service-interface.so.1.0.0 $(BUILD_OBJ)/*.o |
| cp -af $(DIR_MAKEFILE)/audio_ctrl_service_api.h ./ |
| |
| clean: |
| rm -rf $(BUILD_OBJ) |
| rm -f libaudio-ctrl-service-interface.so.1.0.0 |
| rm -f audio_ctrl_service_api.h |