summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-06 21:30:18 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-06 21:30:18 -0400
commit20802a10ce2ca951df3e956cc7d68ae63f3a552c (patch)
treeb5b484f315aee10e33d07cbf5141610879375ae0
parent5b774a68eb4aa78a85e7c5e0e85ff54d65f4f1be (diff)
downloadrandom-seed-master.tar.xz
random-seed-master.zip
fix out-of-source buildsHEADmaster
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 9fd7545..6c6c1cc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,6 +24,7 @@ LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
VPATH := $(srcdir)
+
SRC := src/id.c src/load.c src/main.c src/random-seed.c src/save.c src/sha2.c src/util.c
OBJ := $(SRC:.c=.o)
DEP := $(SRC:.c=.d)
@@ -47,7 +48,7 @@ ifneq ($(UNITY),)
random-seed: random-seed.o
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
-random-seed.o: CPPFLAGS+=-I$(srcdir)/src
+random-seed.o: CPPFLAGS+=-I$(srcdir)
random-seed.c: Makefile
for f in $(SRC); do \