2010-09-03 16:23:09 +02:00
|
|
|
CC=gcc
|
2010-09-10 11:38:06 +02:00
|
|
|
CFLAGS=-Wall -g -O3
|
2012-06-05 19:28:59 +02:00
|
|
|
all: meminfo-writer xenstore-watch python
|
2010-09-03 16:23:09 +02:00
|
|
|
meminfo-writer: meminfo-writer.o
|
|
|
|
$(CC) -g -o meminfo-writer meminfo-writer.o -lxenstore
|
2011-03-15 19:47:26 +01:00
|
|
|
xenstore-watch: xenstore-watch.o
|
|
|
|
$(CC) -o xenstore-watch xenstore-watch.o -lxenstore
|
2012-06-05 19:28:59 +02:00
|
|
|
python:
|
|
|
|
python -m compileall .
|
|
|
|
python -O -m compileall .
|
2010-09-03 16:23:09 +02:00
|
|
|
clean:
|
2012-06-05 19:28:59 +02:00
|
|
|
rm -f meminfo-writer xenstore-watch *.o *~ *.pyc *.pyo
|