Skip to content
Snippets Groups Projects
Commit 049ba5c9 authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Reorganise Makefile to avoid using a intermediate file

parent 43792500
No related branches found
No related tags found
No related merge requests found
QFILES != find . -name '[ws]s[[:digit:]][[:digit:]].q' -type f
sp.json: sp.q
./gen.pl $< > $@
.PHONY: all
all: sp.json
sp.q: $(QFILES)
cat $^ > $@
sp.json: $(QFILES)
./gen.pl $^ > $@
.PHONY: clean
clean:
rm -f sp.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment