xkblayout-state/Makefile

14 lines
342 B
Makefile
Raw Normal View History

2010-01-03 05:03:23 +08:00
all: xkblayout-state
XKeyboard.o: XKeyboard.cpp XKeyboard.h X11Exception.h
g++ -Wall -O2 XKeyboard.cpp -o XKeyboard.o
wrapper.o: wrapper.cpp XKeyboard.h
g++ -Wall -O2 wrapper.cpp -o wrapper.o
xkblayout-state: XKeyboard.o wrapper.o
g++ XKeyboard.o wrapper.o -lX11 -o xkblayout-state
clean:
rm -f xkblayout-state XKeyboard.o wrapper.o