status-memory/Makefile

18 lines
309 B
Makefile
Raw Permalink Normal View History

2025-02-02 21:48:15 +01:00
CC = gcc
CFLAGS = -Wall -pedantic -Werror -std=c99 -O2
target = rc-status-memory
source = main.c
$(target): Makefile $(source)
$(CC) $(CFLAGS) -o $(target) $(source)
.PHONY : clean
clean:
@echo "provadim clean"
rm -f $(target)
install: $(target)
@echo "Instaluji"
cp -f $(target) /usr/local/bin
sync