Add .so and .a libraries to Makefile

后端 未结 4 1525
南旧
南旧 2021-02-02 00:01

I have a makefile which looks like this .

DEFINES=-std=c++0x
INCS_GTK=-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo         


        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-02 00:32

    In Makefile , add like this

    USER_LIBS = -lYARP_OS -lYARP_sig -lYARP_math -lYARP_dev -lYARP_name -lYARP_init

    This will link the libraries you required

提交回复
热议问题