Makefile: add stuf for gui in Linux
This commit is contained in:
parent
100834c01f
commit
471f1ac526
24
Makefile
24
Makefile
@ -60,11 +60,14 @@ progress.o: progress.cpp
|
|||||||
.PHONY: gui
|
.PHONY: gui
|
||||||
gui: tv_rename_gui
|
gui: tv_rename_gui
|
||||||
|
|
||||||
tv_rename_gui: gui.cpp mainwindow.cpp seasonwindow.cpp databasewindow.cpp network.o\
|
tv_rename_gui: gui.cpp mainwindow.cpp seasonwindow.cpp databasewindow.cpp\
|
||||||
functions_gui.o filesystem_u_gui.o tv_rename_gui.o
|
network.o functions_gui.o filesystem_u_gui.o tv_rename_gui.o\
|
||||||
$(CXX) $(CFLAGS) -o tv_rename_gui gui.cpp mainwindow.cpp seasonwindow.cpp databasewindow.cpp\
|
progress.cpp progresswindow.cpp
|
||||||
network.o functions_gui.o filesystem_u_gui.o\
|
$(CXX) $(CFLAGS) -o tv_rename_gui gui.cpp mainwindow.cpp seasonwindow.cpp\
|
||||||
tv_rename_gui.o `pkg-config gtkmm-3.0 --cflags --libs`\
|
databasewindow.cpp network.o functions_gui.o\
|
||||||
|
filesystem_u_gui.o tv_rename_gui.o progress.cpp\
|
||||||
|
progresswindow.cpp\
|
||||||
|
`pkg-config gtkmm-3.0 --cflags --libs`\
|
||||||
-lcurl -lsqlite3 -DGUI
|
-lcurl -lsqlite3 -DGUI
|
||||||
|
|
||||||
filesystem_u_gui.o: unix/filesystem.cpp
|
filesystem_u_gui.o: unix/filesystem.cpp
|
||||||
@ -76,12 +79,11 @@ functions_gui.o: functions.cpp
|
|||||||
tv_rename_gui.o: tv_rename.cpp
|
tv_rename_gui.o: tv_rename.cpp
|
||||||
$(CXX) $(CFLAGS) -c tv_rename.cpp -o tv_rename_gui.o -DGUI
|
$(CXX) $(CFLAGS) -c tv_rename.cpp -o tv_rename_gui.o -DGUI
|
||||||
|
|
||||||
|
|
||||||
.PHONY: windows
|
.PHONY: windows
|
||||||
windows: tv_rename.exe
|
windows: tv_rename.exe
|
||||||
|
|
||||||
tv_rename.exe: tv_rename.cpp functions.cpp windows/filesystem.cpp windows/network.cpp\
|
tv_rename.exe: tv_rename.cpp functions.cpp windows/filesystem.cpp\
|
||||||
progress.cpp sqlite3.c main.cpp
|
windows/network.cpp progress.cpp sqlite3.c main.cpp
|
||||||
$(CXX) -MD -EHsc -Fe"tv_rename" tv_rename.cpp windows/filesystem.cpp\
|
$(CXX) -MD -EHsc -Fe"tv_rename" tv_rename.cpp windows/filesystem.cpp\
|
||||||
functions.cpp windows/network.cpp progress.cpp sqlite3.c main.cpp\
|
functions.cpp windows/network.cpp progress.cpp sqlite3.c main.cpp\
|
||||||
-D_WIN32 -DUNICODE -link wininet.lib shlwapi.lib ole32.lib\
|
-D_WIN32 -DUNICODE -link wininet.lib shlwapi.lib ole32.lib\
|
||||||
@ -93,9 +95,9 @@ windows_gui: tv_rename_gui.exe
|
|||||||
tv_rename_gui.exe: tv_rename_gui.res tv_rename_gui.cpp tv_rename.cpp\
|
tv_rename_gui.exe: tv_rename_gui.res tv_rename_gui.cpp tv_rename.cpp\
|
||||||
windows/filesystem.cpp functions.cpp windows/network.cpp
|
windows/filesystem.cpp functions.cpp windows/network.cpp
|
||||||
$(CXX) -MD -EHsc -Fe"tv_rename_gui" tv_rename_gui.cpp tv_rename.cpp\
|
$(CXX) -MD -EHsc -Fe"tv_rename_gui" tv_rename_gui.cpp tv_rename.cpp\
|
||||||
windows/filesystem.cpp functions.cpp windows/network.cpp -D_WIN32 -DUNICODE\
|
windows/filesystem.cpp functions.cpp windows/network.cpp -D_WIN32\
|
||||||
-DGUI -link wininet.lib shlwapi.lib ole32.lib shell32.lib gdi32.lib\
|
-DUNICODE -DGUI -link wininet.lib shlwapi.lib ole32.lib shell32.lib\
|
||||||
user32.lib tv_rename_gui.res
|
gdi32.lib user32.lib tv_rename_gui.res
|
||||||
|
|
||||||
tv_rename_gui.res: tv_rename_gui.rc
|
tv_rename_gui.res: tv_rename_gui.rc
|
||||||
rc tv_rename_gui.rc
|
rc tv_rename_gui.rc
|
||||||
|
Loading…
Reference in New Issue
Block a user