Added a simple makefile

This commit is contained in:
Kristian Setälä 2010-01-02 23:03:23 +02:00
parent 1d6f9d4cf1
commit ecedbe5681
1 changed files with 13 additions and 0 deletions

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
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