summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUffe Jakobsen2021-01-20 15:55:49 +0100
committerUffe Jakobsen2021-01-20 15:55:49 +0100
commitbc3398acbd523f727bf54b9e2a7537bcbe04e6b2 (patch)
tree5e7a3ad55af603665c7e34a9770b3fbca8a7038c
parent77af4bcedcb0e656e23907f10c910849914f58de (diff)
downloadaur-bc3398acbd523f727bf54b9e2a7537bcbe04e6b2.tar.gz
Forgot to add patch
-rw-r--r--patch-Makefile.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/patch-Makefile.diff b/patch-Makefile.diff
new file mode 100644
index 000000000000..db2c68807326
--- /dev/null
+++ b/patch-Makefile.diff
@@ -0,0 +1,21 @@
+--- Makefile.orig 2021-01-20 15:08:57.766406679 +0100
++++ Makefile 2021-01-20 15:11:08.493566453 +0100
+@@ -3,7 +3,8 @@
+ # Sources
+ PROJECT_ROOT=./SIDFactoryII
+ SOURCE=$(PROJECT_ROOT)/source
+-SRC=$(PROJECT_ROOT)/main.cpp $(shell find $(SOURCE) -name "*.cpp")
++SRC_TMP=$(PROJECT_ROOT)/main.cpp $(shell find $(SOURCE) -name "*.cpp")
++SRC=$(patsubst %miniz_tester.cpp,,$(SRC_TMP))
+
+ # Artifacts
+ APP_NAME=SIDFactoryII
+@@ -39,7 +40,7 @@
+ $(CC) $(CC_FLAGS) -c $< -o $@
+
+ # Determine all .o files to be built
+-OBJ = $(SRC:.cpp=.o)
++OBJ = $(SRC:.cpp=.o) $(SOURCE)/libraries/miniz/miniz.o
+
+ # Compile executable
+ $(EXE): $(OBJ) $(ARTIFACTS_FOLDER)