Strip final binaries
This commit is contained in:
parent
1d52ff388f
commit
1e486dbbf6
9
Makefile
9
Makefile
@ -38,9 +38,10 @@ uninstall_gui:
|
||||
rm $(ICONDIR)/scalable/apps/tv_rename.svg
|
||||
gtk-update-icon-cache -f $(ICONDIR)
|
||||
|
||||
tv_rename: functions.o filesystem.o network.o tv_rename.o progress.o main.cpp
|
||||
$(CXX) $(CFLAGS) -o tv_rename main.cpp tv_rename.o functions.o\
|
||||
tv_rename: functions.o filesystem.o network.o tv_rename.o progress.o main.o
|
||||
$(CXX) $(CFLAGS) -o tv_rename main.o tv_rename.o functions.o\
|
||||
filesystem.o network.o progress.o -lcurl -lsqlite3
|
||||
strip tv_rename
|
||||
|
||||
filesystem.o: unix/filesystem.cpp
|
||||
$(CXX) $(CFLAGS) -c unix/filesystem.cpp -o filesystem.o
|
||||
@ -57,6 +58,9 @@ tv_rename.o: tv_rename.cpp
|
||||
progress.o: progress.cpp
|
||||
$(CXX) $(CFLAGS) -c progress.cpp
|
||||
|
||||
main.o: main.cpp
|
||||
$(CXX) $(CFLAGS) -c main.cpp
|
||||
|
||||
.PHONY: gui
|
||||
gui: tv_rename_gui
|
||||
|
||||
@ -69,6 +73,7 @@ tv_rename_gui: gui.cpp mainwindow.cpp seasonwindow.cpp databasewindow.cpp\
|
||||
progresswindow.cpp\
|
||||
`pkg-config gtkmm-3.0 --cflags --libs`\
|
||||
-lcurl -lsqlite3 -DGUI
|
||||
strip tv_rename_gui
|
||||
|
||||
filesystem_u_gui.o: unix/filesystem.cpp
|
||||
$(CXX) $(CFLAGS) -c unix/filesystem.cpp -o filesystem_u_gui.o -DGUI
|
||||
|
Loading…
Reference in New Issue
Block a user