diff options
Diffstat (limited to 'cgpt/Makefile')
-rw-r--r-- | cgpt/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cgpt/Makefile b/cgpt/Makefile index ae9aac1c..546656d3 100644 --- a/cgpt/Makefile +++ b/cgpt/Makefile @@ -2,11 +2,12 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -LDFLAGS += -luuid -static BUILD_ROOT := ${BUILD}/cgpt INCLUDES = -I$(FWDIR)/lib/cgptlib/include -I$(FWDIR)/include LIBS = ${HOSTLIB} +LDLIBS += -luuid +LDFLAGS += -static DESTDIR ?= /usr/bin @@ -61,7 +62,7 @@ $(LIB_CGPT_CC): $(LIB_CGPT_CC_OBJS) ar qc $@ $^ $(PROGNAME): $(ALL_OBJS) $(LIBS) - $(CC) -o $(PROGNAME) $(CFLAGS) $^ $(LDFLAGS) + $(CC) -o $(PROGNAME) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) install: $(PROGNAME) mkdir -p $(DESTDIR) |