Makefile for a library

后端 未结 3 1095
余生分开走
余生分开走 2021-02-05 23:34

I have to run these 4 commands on the terminal each time I want to execute the program using libraries.

The lines are

cc -m32 -c mylib.c
ar -rcs libmyli         


        
3条回答
  •  梦谈多话
    2021-02-05 23:47

    The simplest tutorial to understand make files is available in Cprogramming.com. Once you are through with understanding it then you can go though the make file manual.

提交回复
热议问题