1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2025-04-04 23:31:48 +00:00

change names in makefile

This commit is contained in:
Kamil Strzempowicz 2018-01-31 22:41:48 +01:00
parent 71070b9db5
commit 78b5015ea2

View File

@ -1,5 +1,5 @@
CC=g++ CC=g++
CFLAGS=-Wall -O2 -std=gnu++11 CFLAGS=-Wall -O2 -std=gnu++11 -Iinclude
LIB?=hidapi LIB?=hidapi
ifeq ($(LIB),libusb) ifeq ($(LIB),libusb)
CPPFLAGS=-Dlibusb CPPFLAGS=-Dlibusb
@ -15,7 +15,7 @@ libdir?=$(prefix)/lib
includedir?=$(prefix)/include includedir?=$(prefix)/include
# Program & versioning information # Program & versioning information
PROGN=g810-led PROGN=ledkeyboard
MAJOR=0 MAJOR=0
MINOR=2 MINOR=2
MICRO=7 MICRO=7
@ -58,12 +58,6 @@ setup:
$(DESTDIR)/etc/$(PROGN)/samples \ $(DESTDIR)/etc/$(PROGN)/samples \
$(DESTDIR)/etc/udev/rules.d $(DESTDIR)/etc/udev/rules.d
@cp bin/$(PROGN) $(DESTDIR)/usr/bin @cp bin/$(PROGN) $(DESTDIR)/usr/bin
@test -s $(DESTDIR)/usr/bin/g213-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g213-led
@test -s $(DESTDIR)/usr/bin/g410-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g410-led
@test -s $(DESTDIR)/usr/bin/g413-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g413-led
@test -s $(DESTDIR)/usr/bin/g610-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g610-led
@test -s $(DESTDIR)/usr/bin/g910-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g910-led
@test -s $(DESTDIR)/usr/bin/gpro-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/gpro-led
@cp sample_profiles/* $(DESTDIR)/etc/$(PROGN)/samples @cp sample_profiles/* $(DESTDIR)/etc/$(PROGN)/samples
@cp udev/$(PROGN).rules $(DESTDIR)/etc/udev/rules.d @cp udev/$(PROGN).rules $(DESTDIR)/etc/udev/rules.d
@test -s /usr/bin/systemd-run && \ @test -s /usr/bin/systemd-run && \