argbColors/Makefile

19 lines
332 B
Makefile
Raw Normal View History

2025-01-24 01:25:30 +03:00
CC = gcc
MKDIR_P = mkdir -p
APP_NAME = argbColors
all: $(APP_NAME)
argbColors: ./src/$(APP_NAME).c
$(MKDIR_P) ./bin
2025-01-24 01:58:51 +03:00
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME)
2025-01-24 01:25:30 +03:00
clean:
rm -rf ./bin/*.o \
./bin/$(APP_NAME)
2025-01-24 01:58:51 +03:00
install:
install ./bin/$(APP_NAME) /usr/bin
uninstall:
rm /usr/bin/$(APP_NAME)