CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fixed LDFLAGS usage for Ubuntu's host compilation
[pkgutils-cross.git] / Makefile
1 #
2 # Makefile
3 #
4
5 all: src/pkgmk.conf src/pkgmk
6
7 src/pkgmk:
8 @if grep -e ubuntu /proc/version >/dev/null; then \
9 make -C src LDFLAGS="-static -larchive -lz -lacl"; \
10 else \
11 make -C src; \
12 fi
13 @chmod a+x src/pkgmk
14
15 clean:
16 @make -C src clean
17
18 distclean:
19 @make -C src distclean
20
21 # End of file