argbColors/Makefile
2025-02-02 01:36:03 +03:00

18 lines
334 B
Makefile

CC = gcc
MKDIR_P = mkdir -p
APP_NAME = argb-colors
all: $(APP_NAME)
argb-colors: ./src/$(APP_NAME).c
$(MKDIR_P) ./bin
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME)
clean:
rm -rf ./bin/*.o \
./bin/$(APP_NAME)
install:
install ./bin/$(APP_NAME) /usr/bin
uninstall:
rm /usr/bin/$(APP_NAME)