From: Steinar H. Gunderson Date: Mon, 12 Oct 2015 19:54:16 +0000 (+0200) Subject: Yet more Makefile tweaks. X-Git-Tag: 1.0.0~235 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0bc3c68731fbf9767dcf5721ccd750c7916e9705;p=nageru Yet more Makefile tweaks. --- diff --git a/Makefile b/Makefile index d0a4d0b..7a88cfe 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ OBJS += h264encode.o mixer.o bmusb/bmusb.o pbo_frame_allocator.o context.o ref_c %.o: %.cpp $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< -%.cpp: %.ui +%.h: %.ui uic $< -o $@ %.moc.cpp: %.h diff --git a/mainwindow.cpp b/mainwindow.cpp index 8872523..65db8cf 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -9,7 +9,7 @@ #include "context.h" #include "mixer.h" -#include "ui_mainwindow.cpp" +#include "ui_mainwindow.h" using namespace std;