We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a5b8f commit a90c5aeCopy full SHA for a90c5ae
Makefile
@@ -3,13 +3,16 @@
3
4
SOURCES = src/main.c
5
TARGET = dist/chip.wasm
6
-testFileName = logic
+testFileName = logic
7
+testFolderName = test
8
+
9
.PHONY: all
10
all: $(TARGET) dist/chip.json
11
12
.PHONY: clean
13
clean:
- rm -rf dist
14
+ rm -rf dist ; \
15
+ rm -rf $(testFolderName) ; \
16
17
dist:
18
mkdir -p dist
@@ -23,7 +26,8 @@ dist/chip.json: dist chip.json
23
26
24
27
.PHONY: test
25
28
test:
- cd test && arduino-cli sketch new $(testFileName) && arduino-cli compile -e -b arduino:avr:uno $(testFileName)
29
+ mkdir -p $(testFolderName) ; \
30
+ cd test && arduino-cli sketch new $(testFileName) && arduino-cli compile -e -b arduino:avr:uno $(testFileName) ; \
31
32
33
0 commit comments