2010-09-03 16:23:09 +02:00
|
|
|
CC=gcc
|
2014-02-16 11:34:22 +01:00
|
|
|
CFLAGS=-Wall -Wextra -Werror -g -O3
|
2014-07-04 18:49:49 +02:00
|
|
|
all: xenstore-watch python close-window
|
2011-03-15 19:47:26 +01:00
|
|
|
xenstore-watch: xenstore-watch.o
|
|
|
|
$(CC) -o xenstore-watch xenstore-watch.o -lxenstore
|
2014-07-04 18:49:49 +02:00
|
|
|
close-window: close-window.c
|
|
|
|
$(CC) -lX11 -o $@ $<
|
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:
|
2014-01-05 05:38:10 +01:00
|
|
|
rm -f xenstore-watch *.o *~ *.pyc *.pyo
|