Creating a library file in makefile and compiling after that
问题 My problem is fairly easy but I just don't know how to solve it. I know how to compile and library and link against it if I'm not using a make file because then I can just call ar separately and everything goes right. Anyway I'm using a petsc library and I'm using a makefile what they provided: CFLAGS = FFLAGS = CPPFLAGS = FPPFLAGS = LOCDIR = /home/user/.../.../ # Working folder EXAMPLESC = main.cpp class.cpp #.cpp file names here EXAMPLESF = #MANSEC = Mat I don't know what this is but it