Skip to content

Commit 40f763d

Browse files
committed
Added strip step to reduce file size. Fixes #10
1 parent e73e232 commit 40f763d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ SOURCES = $(wildcard src/*.cpp)
88
HEADER = $(wildcard src/*.h)
99

1010
CXX := g++
11+
STRIP := strip
12+
1113
CXXFLAGS := -iquote src -Wall -g -std=c++11
1214
LDFLAGS := -static -static-libgcc -static-libstdc++ -lVirtDisk -luuid
15+
STRIPFLAGS := --strip-unneeded
1316

1417
all: build
1518

1619
build: $(SOURCES)
1720
$(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -o VHDTool.exe
21+
$(STRIP) $(STRIPFLAGS) VHDTool.exe

0 commit comments

Comments
 (0)