Commit 08c8af80 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Minor mkdir cahnge in test

parent e6d4c017
...@@ -25,21 +25,22 @@ test_%: gen/%/signatures.py \ ...@@ -25,21 +25,22 @@ test_%: gen/%/signatures.py \
--test mono gen/$*/cs_relay.exe /dev/stdin /dev/stdout \ --test mono gen/$*/cs_relay.exe /dev/stdin /dev/stdout \
--test java \\-cp gen/$*:../lib/java/labcomm.jar java_relay \ --test java \\-cp gen/$*:../lib/java/labcomm.jar java_relay \
/dev/stdin /dev/stdout /dev/stdin /dev/stdout
.PRECIOUS: gen/%/ .PRECIOUS: gen/%/.dir
gen/%/: gen/%/.dir:
mkdir -p $@ mkdir -p gen/$*
touch $@
.PRECIOUS: gen/%/typeinfo .PRECIOUS: gen/%/typeinfo
gen/%/typeinfo: %.lc Makefile | gen/%/ gen/%/typeinfo: %.lc Makefile | gen/%/.dir
$(LABCOMM) --typeinfo=$@ $< $(LABCOMM) --typeinfo=$@ $<
.PRECIOUS: gen/%/signatures.py .PRECIOUS: gen/%/signatures.py
gen/%/signatures.py: %.lc Makefile | gen/%/ gen/%/signatures.py: %.lc Makefile | gen/%/.dir
$(LABCOMM) --python=$@ $< $(LABCOMM) --python=$@ $<
# C relay test rules # C relay test rules
.PRECIOUS: gen/%/c_code.h gen/%/c_code.c .PRECIOUS: gen/%/c_code.h gen/%/c_code.c
gen/%/c_code.h gen/%/c_code.c: %.lc Makefile | gen/%/ gen/%/c_code.h gen/%/c_code.c: %.lc Makefile | gen/%/.dir
$(LABCOMM) --c=gen/$*/c_code.c --h=gen/$*/c_code.h $< $(LABCOMM) --c=gen/$*/c_code.c --h=gen/$*/c_code.h $<
.PRECIOUS: gen/%/c_relay.c .PRECIOUS: gen/%/c_relay.c
...@@ -58,7 +59,7 @@ gen/%/c_relay: gen/%/c_relay.c gen/%/c_code.c Makefile ...@@ -58,7 +59,7 @@ gen/%/c_relay: gen/%/c_relay.c gen/%/c_code.c Makefile
# C# relay test rules # C# relay test rules
.PRECIOUS: gen/%/cs_code.cs .PRECIOUS: gen/%/cs_code.cs
gen/%/cs_code.cs: %.lc Makefile | gen/%/ gen/%/cs_code.cs: %.lc Makefile | gen/%/.dir
$(LABCOMM) --cs=$@ $< $(LABCOMM) --cs=$@ $<
.PRECIOUS: gen/%/cs_relay.cs .PRECIOUS: gen/%/cs_relay.cs
...@@ -76,7 +77,7 @@ gen/%/cs_relay.exe: gen/%/cs_relay.cs gen/%/cs_code.cs \ ...@@ -76,7 +77,7 @@ gen/%/cs_relay.exe: gen/%/cs_relay.cs gen/%/cs_code.cs \
# Java relay test rules # Java relay test rules
.PRECIOUS: gen/%/java_code .PRECIOUS: gen/%/java_code
gen/%/java_code: %.lc | gen/%/ gen/%/java_code: %.lc | gen/%/.dir
mkdir -p $@ mkdir -p $@
$(LABCOMM) --java=$@ $< $(LABCOMM) --java=$@ $<
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment