20 |
VERSION=$(shell cat VERSION) |
VERSION=$(shell cat VERSION) |
21 |
|
|
22 |
TARGETS = grubby |
TARGETS = grubby |
23 |
OBJECTS = grubby.o |
OBJECTS = grubby.o log.o |
24 |
|
|
25 |
CC = gcc |
CC = gcc |
26 |
RPM_OPT_FLAGS := -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector |
RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector |
27 |
CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb |
CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb |
28 |
LDFLAGS := |
LDFLAGS := |
29 |
|
|