blob: 414c7a0269e1632254684ce4c06e27ee97ebeb37 (
plain)
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
|
all: .SRCINFO
.SRCINFO: PKGBUILD
makepkg --printsrcinfo > .SRCINFO
test: systemc
testing-x86_64-build -c -- -n -I systemc/systemc-*.pkg*
quick-test:
makepkg -sf
find -maxdepth 1 -type f -name 'archc-git-*.pkg*' ! -name '*.log' | xargs namcap
systemc:
# Make systemc dependency from AUR
if [ ! -f systemc/systemc-*.pkg* ] ; then \
rm -rf systemc/ && \
wget https://aur.archlinux.org/cgit/aur.git/snapshot/systemc.tar.gz && \
tar xf systemc.tar.gz && \
cd systemc && makepkg ;\
fi
clean:
rm -rf ArchC/ pkg/ src/ systemc/ *.log archc-git-*.pkg*
.PHONY: all test quick-test systemc clean
|