Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ WRITE_C := $(sort $(shell find . -name write.C))
READ_C := $(sort $(shell find . -name read.C))

.PHONY: dict
dict:
@$(foreach d,$(DICT_MAKEFILE_DIR),make -C $(d) &&) true
dict:: $(DICT_MAKEFILE_DIR)
$(DICT_MAKEFILE_DIR)::
@$(MAKE) -C $@

.PHONY: write
write:
@$(foreach c,$(WRITE_C),LD_LIBRARY_PATH=$(shell dirname $(c)) $(ROOT_EXE) -q -l $(c) &&) true
write:: $(WRITE_C)
$(WRITE_C)::
@LD_LIBRARY_PATH=$(shell dirname $@) $(ROOT_EXE) -q -l $@

.PHONY: read
read:
@$(foreach c,$(READ_C),LD_LIBRARY_PATH=$(shell dirname $(c)) $(ROOT_EXE) -q -l $(c) &&) true
read:: $(READ_C)
$(READ_C)::
@LD_LIBRARY_PATH=$(shell dirname $@) $(ROOT_EXE) -q -l $@