23 |
OBJECTS = grubby.o log.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 |
|
|
30 |
grubby_LIBS = -lblkid -lpopt |
grubby_LIBS = -lblkid -lpopt |
31 |
|
|
32 |
sbindir = /usr/sbin |
PREFIX = /usr |
33 |
|
sbindir = $(PREFIX)/sbin |
34 |
mandir = /usr/share/man |
mandir = /usr/share/man |
35 |
|
|
36 |
all: grubby |
all: grubby |