磨礪技術珠磯,踐行數據之道,追求卓越價值
回到上一級頁面: PostgreSQL雜記頁 回到頂級頁面:PostgreSQL索引頁
如題:
In particular, the macro CC is the C compiler to use, and CFLAGS is the list of flags to pass to the compilation command.
驗證如下,Makefile原有內容
CC=gcc
CFLAGS=-I.
hellomake: hellomake.o hellofunc.o
$(CC) -o hellomake hellomake.o hellofunc.o $(CFLAGS)
改為:
AA=gcc
BB=-I.
hellomake: hellomake.o hellofunc.o
$(AA) -o hellomake hellomake.o hellofunc.o $(BB)
再執行make命令,毫無問題。
回到上一級頁面: PostgreSQL雜記頁 回到頂級頁面:PostgreSQL索引頁
磨礪技術珠磯,踐行數據之道,追求卓越價值