Module for 3.x kernels
[apc.git] / build.linux.console
blob627adb26cab1a20217946778f090aab42bc063ba
1 #!/bin/sh
3 set -e
5 case $(uname -m) in
6 "x86_64") flags=-m64 ;;
7 *) ;;
8 esac
9 cc -o hog -Wall -Werror -pedantic -W hog.c
10 cc -o idlestat $flags -Wall -Werror -W idlestat.c
12 (cd mod && make)