2010-01-03 05:03:23 +08:00
|
|
|
all: xkblayout-state
|
|
|
|
|
|
|
|
XKeyboard.o: XKeyboard.cpp XKeyboard.h X11Exception.h
|
2010-01-03 05:04:23 +08:00
|
|
|
g++ -c -Wall -O2 XKeyboard.cpp -o XKeyboard.o
|
2010-01-03 05:03:23 +08:00
|
|
|
|
|
|
|
wrapper.o: wrapper.cpp XKeyboard.h
|
2010-01-03 05:04:23 +08:00
|
|
|
g++ -c -Wall -O2 wrapper.cpp -o wrapper.o
|
2010-01-03 05:03:23 +08:00
|
|
|
|
|
|
|
xkblayout-state: XKeyboard.o wrapper.o
|
|
|
|
g++ XKeyboard.o wrapper.o -lX11 -o xkblayout-state
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f xkblayout-state XKeyboard.o wrapper.o
|
2010-01-08 04:50:07 +08:00
|
|
|
|
|
|
|
dist:
|
|
|
|
tar cfa xkblayout-state-v1b.tar.gz Makefile README.md wrapper.cpp X11Exception.h XKeyboard.cpp XKeyboard.h
|
|
|
|
|