summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-01-15 19:19:18 -0500
committersrs5694 <srs5694@users.sourceforge.net>2010-01-15 19:19:18 -0500
commit3c0af38237d0f40aaea8233a5cbfdd030a77817d (patch)
treec670571bf111d857578899b74977540dd9296476 /Makefile
parentba00fed2efd6c0cba60da9afb0ce3dff84fc69f9 (diff)
downloadsgdisk-3c0af38237d0f40aaea8233a5cbfdd030a77817d.tar.gz
Version 0.6.0 release; adds support for >512-byte sectors, sgdisk
program.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 33a2ffc..2834ecb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=gcc
CXX=g++
CFLAGS=-O2 -D_FILE_OFFSET_BITS=64 -g
-CXXFLAGS=-O2 -Wuninitialized -Wreturn-type -D_FILE_OFFSET_BITS=64 -I/opt/local/include -g
+CXXFLAGS=-O2 -Wuninitialized -Wreturn-type -D_FILE_OFFSET_BITS=64 -I /usr/local/include -I/opt/local/include -g
LIB_NAMES=crc32 support gptpart mbr gpt bsd parttypes attributes
LIB_SRCS=$(NAMES:=.cc)
LIB_OBJS=$(LIB_NAMES:=.o)
@@ -17,7 +17,7 @@ gdisk: $(LIB_OBJS) gdisk.o
$(CXX) $(LIB_OBJS) gdisk.o -o gdisk
sgdisk: $(LIB_OBJS) sgdisk.o
- $(CXX) $(LIB_OBJS) sgdisk.o -L/opt/local/lib -lpopt -o sgdisk
+ $(CXX) $(LIB_OBJS) sgdisk.o -L/opt/local/lib -L/usr/local/lib -lpopt -o sgdisk
wipegpt: $(LIB_OBJS) wipegpt.o
$(CXX) $(LIB_OBJS) wipegpt.o -o wipegpt