Skip to content

Commit

Permalink
get rid of redundant library code
Browse files Browse the repository at this point in the history
  • Loading branch information
devinacker committed Jun 23, 2018
1 parent 56e4691 commit d4af262
Show file tree
Hide file tree
Showing 344 changed files with 47 additions and 34,139 deletions.
8 changes: 5 additions & 3 deletions bsnes/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include nall/Makefile
common := ../common
nall := $(common)/nall
include $(nall)/Makefile
snes := snes
ifeq ($(profile),)
profile := compatibility
Expand All @@ -13,7 +15,7 @@ version := v04
# compiler
c := $(compiler) -xc -std=gnu99
cpp := $(compiler) -std=gnu++0x
flags := -I. -I$(snes)
flags := -I. -I$(common) -I$(snes)
link :=
objects :=

Expand Down Expand Up @@ -155,6 +157,6 @@ plugins_clean:
@$(MAKE) clean -C ../supergameboy

archive-all:
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
tar -cjf bsnes.tar.bz2 data launcher libco obj out ruby snes ui-qt Makefile cc.bat clean.bat sync.sh uname.bat

help:;
4 changes: 2 additions & 2 deletions bsnes/ui-qt/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
qtlibs := $(strip QtCore QtGui $(if $(findstring osx,$(platform)),QtOpenGL))
include $(ui)/template/Makefile
include $(nall)/qt/Makefile

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

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

Expand Down
10 changes: 5 additions & 5 deletions bsnes/ui-qt/ui-base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#include <nall/input.hpp>
#include <nall/ups.hpp>
#include <nall/snes/cartridge.hpp>
#include "template/concept.hpp"
#include "template/check-action.moc.hpp"
#include "template/file-dialog.moc.hpp"
#include "template/radio-action.moc.hpp"
#include "template/window.moc.hpp"
#include <nall/qt/concept.hpp>
#include <nall/qt/check-action.moc.hpp>
#include <nall/qt/file-dialog.moc.hpp>
#include <nall/qt/radio-action.moc.hpp>
#include <nall/qt/window.moc.hpp>
using namespace nall;

#include <ruby/ruby.hpp>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 5 additions & 3 deletions snesfilter/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
include nall/Makefile
common := ../common
nall := $(common)/nall
include $(nall)/Makefile

qtlibs := QtCore QtGui
include nall/qt/Makefile
include $(nall)/qt/Makefile

c := $(compiler) -xc -std=gnu99
cpp := $(compiler) -std=gnu++0x
flags := -I. -Iobj $(qtinc)
flags := -I. -I$(common) -Iobj $(qtinc)
link :=

ifeq ($(DEBUG), 1)
Expand Down
110 changes: 0 additions & 110 deletions snesfilter/nall/Makefile

This file was deleted.

17 changes: 0 additions & 17 deletions snesfilter/nall/algorithm.hpp

This file was deleted.

74 changes: 0 additions & 74 deletions snesfilter/nall/any.hpp

This file was deleted.

Loading

0 comments on commit d4af262

Please sign in to comment.