-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 821 Bytes
/
Makefile
File metadata and controls
38 lines (28 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SUBDIRS= utilities parse analyze aps2scala apscpp
DOCKERTAG= boylanduwm/aps
install:
-mkdir -p lib bin
for d in ${SUBDIRS}; do \
(cd $$d; ${MAKE} install); \
done
clean:
for d in ${SUBDIRS}; do \
(cd $$d; ${MAKE} clean); \
done
# This cleans after an install: it does a realclean
# which gets rid of generated .h files as well.
realclean:
for d in ${SUBDIRS}; do \
(cd $$d; ${MAKE} realclean); \
done
dockerbuild: install
sudo docker build . -t ${DOCKERTAG}
cs854-dockerbuild:
sudo docker build . -t ${DOCKERTAG} -f cs854.Dockerfile
dockerpush:
docker push ${DOCKERTAG}
distclean: realclean
rm -rf bin lib
cs854.tgz : distclean
tar cvf - utilities parse analyze aps2scala codegen cool/cool-tree.aps cool/cool-symbol.aps Makefile README | gzip > $@
.PHONY: install clean realclean distclean