From 0bc3c68731fbf9767dcf5721ccd750c7916e9705 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 12 Oct 2015 21:54:16 +0200 Subject: [PATCH] Yet more Makefile tweaks. --- Makefile | 2 +- mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2