diff options
author | z3bra <contactatz3bradotorg> | 2016-10-31 21:25:10 +0100 |
---|---|---|
committer | z3bra <contactatz3bradotorg> | 2016-10-31 21:25:10 +0100 |
commit | a1d2b63e6af32685f5828c302a0d3edeeb48090f (patch) | |
tree | 496f70190f02d448a3423fd61d0d61ef6137ee18 /Makefile | |
parent | 6ab4139a1aa0a49ac8fa08429fcf929405f43df6 (diff) |
Compile against local toxcore submodule
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -3,10 +3,13 @@ include config.mk .POSIX: .SUFFIXES: .c .o +TOXSRC = $(shell find toxcore/toxcore toxcore/toxav toxcore/toxencryptsave -name '*.c') + HDR = arg.h config.h readpassphrase.h util.h LIB = \ eprintf.o \ - readpassphrase.o + readpassphrase.o \ + $(TOXSRC:.c=.o) SRC = \ ratox.c @@ -21,6 +24,8 @@ binlib: util.a bin: $(BIN) +$(BIN): util.a $(OBJ) + $(OBJ): $(HDR) config.mk config.h: |