Skip to content

Commit d4af262

Browse files
committed
get rid of redundant library code
1 parent 56e4691 commit d4af262

File tree

344 files changed

+47
-34139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

344 files changed

+47
-34139
lines changed

bsnes/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
include nall/Makefile
1+
common := ../common
2+
nall := $(common)/nall
3+
include $(nall)/Makefile
24
snes := snes
35
ifeq ($(profile),)
46
profile := compatibility
@@ -13,7 +15,7 @@ version := v04
1315
# compiler
1416
c := $(compiler) -xc -std=gnu99
1517
cpp := $(compiler) -std=gnu++0x
16-
flags := -I. -I$(snes)
18+
flags := -I. -I$(common) -I$(snes)
1719
link :=
1820
objects :=
1921

@@ -155,6 +157,6 @@ plugins_clean:
155157
@$(MAKE) clean -C ../supergameboy
156158

157159
archive-all:
158-
tar -cjf bsnes.tar.bz2 data launcher libco nall obj out phoenix ruby snes ui-phoenix ui-qt Makefile cc.bat clean.bat sync.sh
160+
tar -cjf bsnes.tar.bz2 data launcher libco obj out ruby snes ui-qt Makefile cc.bat clean.bat sync.sh uname.bat
159161

160162
help:;

bsnes/ui-qt/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
qtlibs := $(strip QtCore QtGui $(if $(findstring osx,$(platform)),QtOpenGL))
2-
include $(ui)/template/Makefile
2+
include $(nall)/qt/Makefile
33

44
ui_objects := ui-main ui-base ui-cartridge ui-debugger ui-input ui-movie ui-settings ui-state ui-tools
55
ui_objects += ruby
66
ui_objects += $(if $(call streq,$(platform),$(filter $(platform),win msys)),resource)
77
link += $(qtlib)
88

99
headers := $(call rwildcard,$(ui)/,%.hpp)
10-
moc_headers := $(call rwildcard,nall/qt/,%.moc.hpp) $(call rwildcard,$(ui)/,%.moc.hpp)
10+
moc_headers := $(call rwildcard,$(nall)/qt/,%.moc.hpp) $(call rwildcard,$(ui)/,%.moc.hpp)
1111
moc_objects := $(foreach f,$(moc_headers),obj/$(notdir $(patsubst %.moc.hpp,%.moc,$f)))
1212
qt_compile = $(call compile,-Iobj $(qtinc))
1313

bsnes/ui-qt/ui-base.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
#include <nall/input.hpp>
1717
#include <nall/ups.hpp>
1818
#include <nall/snes/cartridge.hpp>
19-
#include "template/concept.hpp"
20-
#include "template/check-action.moc.hpp"
21-
#include "template/file-dialog.moc.hpp"
22-
#include "template/radio-action.moc.hpp"
23-
#include "template/window.moc.hpp"
19+
#include <nall/qt/concept.hpp>
20+
#include <nall/qt/check-action.moc.hpp>
21+
#include <nall/qt/file-dialog.moc.hpp>
22+
#include <nall/qt/radio-action.moc.hpp>
23+
#include <nall/qt/window.moc.hpp>
2424
using namespace nall;
2525

2626
#include <ruby/ruby.hpp>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)