summaryrefslogtreecommitdiffstats
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 529668b..82b9c80 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,8 +1,11 @@
#!/usr/bin/make
# by RAM 2017
+TEMP = ../temp/vhdl
+
all:
- ghdl -a *.vhd
+ @mkdir -p $(TEMP)
+ ghdl -a --workdir=$(TEMP) *.vhd
clean:
- rm -fr *.o *.cf
+ rm -fr $(TEMP)
OpenPOWER on IntegriCloud