ceckb

libcec to uinput key event mapper
git clone git://git.2f30.org/ceckb
Log | Files | Refs | README | LICENSE

Makefile (348B)


      1 PREFIX = /usr/local
      2 #CPPFLAGS = -DDEBUG
      3 LDLIBS = -lcec
      4 OBJS = ceckb.o
      5 BIN = ceckb
      6 
      7 all: $(BIN)
      8 
      9 ceckb.o: config.h
     10 
     11 install: all
     12 	mkdir -p $(DESTDIR)$(PREFIX)/bin
     13 	cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
     14 
     15 uninstall:
     16 	rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)
     17 
     18 clean:
     19 	rm -f $(OBJS) $(BIN)
     20 
     21 config.h:
     22 	cp config.def.h $@
     23 
     24 .PHONY: all clean install uninstall