提交 87549f73 编写于 作者: E Emmanuel Leblond

Fix Makefile configuration by env var support

上级 4f870752
......@@ -2,12 +2,12 @@
# iniparser tests Makefile
#
CC = gcc
CFLAGS = -g -I../src
LFLAGS = -L.. -liniparser
AR = ar
ARFLAGS = rcv
RM = rm -f
CC ?= gcc
CFLAGS += -g -I../src
LFLAGS += -L.. -liniparser
AR ?= ar
ARFLAGS += rcv
RM ?= rm -f
default: all
......
......@@ -11,8 +11,9 @@ SRC = $(shell ls *.c | sed 's/AllTests.c//')
OBJ = $(SRC:.c=.o)
INCLUDE = -I../src
CFLAGS = -pipe -ansi -pedantic -Wall -Wextra -g
LDFLAGS =
CFLAGS += -pipe -ansi -pedantic -Wall -Wextra -g
LDFLAGS +=
all: check
check: testrun
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册