]> git.sesse.net Git - nageru/commitdiff
Yet more Makefile tweaks.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 12 Oct 2015 19:54:16 +0000 (21:54 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 12 Oct 2015 19:54:16 +0000 (21:54 +0200)
Makefile
mainwindow.cpp

index d0a4d0bc73bb925f4b18ed9ac39420a8e644bac2..7a88cfe7bdf79e076579f7bc0b3c7ac4ab0122ed 100644 (file)
--- 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
index 8872523e71d30fa6eb5cefa2d993ae73bdbedb78..65db8cf96bc1e17e0138515e7cd32ba4bc71083c 100644 (file)
@@ -9,7 +9,7 @@
 #include "context.h"
 #include "mixer.h"
 
-#include "ui_mainwindow.cpp"
+#include "ui_mainwindow.h"
 
 using namespace std;