aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authornotaz2012-03-02 23:07:50 +0200
committernotaz2012-03-02 23:07:50 +0200
commit966c128ddcf8b31154d8d2afe62088b3b8f58b4a (patch)
treeb92a30f8dcf6c35ef454e2db01bca49f60e029ae /plugins
parentcbb260483b3b51839805cc5b8cd95720784118c0 (diff)
downloadpcsx_rearmed-966c128ddcf8b31154d8d2afe62088b3b8f58b4a.tar.gz
pcsx_rearmed-966c128ddcf8b31154d8d2afe62088b3b8f58b4a.tar.bz2
pcsx_rearmed-966c128ddcf8b31154d8d2afe62088b3b8f58b4a.zip
gpulib: make gpulib.a a dependency
so that stuff rebuilds when it changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gpulib/gpulib.mak13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/gpulib/gpulib.mak b/plugins/gpulib/gpulib.mak
index 2cc1e28..3a7f7cd 100644
--- a/plugins/gpulib/gpulib.mak
+++ b/plugins/gpulib/gpulib.mak
@@ -1,5 +1,5 @@
# depends on ARCH definition
-# always adding gpulib to LDLIBS in case cspace is needed
+# always adding gpulib to deps in case cspace is needed
LDFLAGS += -shared
ifeq "$(ARCH)" "arm"
@@ -27,7 +27,6 @@ ifdef DEBUG
endif
GPULIB_A = ../gpulib/gpulib$(EXT).a
-LDLIBS += $(GPULIB_A)
ifdef BIN_STANDLALONE
TARGETS += $(BIN_STANDLALONE)$(EXT)
@@ -36,16 +35,16 @@ ifdef BIN_GPULIB
TARGETS += $(BIN_GPULIB)$(EXT)
endif
-all: $(GPULIB_A) $(TARGETS)
+all: $(TARGETS)
ifdef BIN_STANDLALONE
-$(BIN_STANDLALONE)$(EXT): $(SRC) $(SRC_STANDALONE)
- $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LDLIBS) $(LDLIBS_STANDALONE)
+$(BIN_STANDLALONE)$(EXT): $(SRC) $(SRC_STANDALONE) $(GPULIB_A)
+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) $(LDLIBS_STANDALONE)
endif
ifdef BIN_GPULIB
-$(BIN_GPULIB)$(EXT): $(SRC) $(SRC_GPULIB)
- $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LDLIBS) $(LDLIBS_GPULIB)
+$(BIN_GPULIB)$(EXT): $(SRC) $(SRC_GPULIB) $(GPULIB_A)
+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) $(LDLIBS_GPULIB)
endif
$(GPULIB_A):