aktualni-vyvoj/rcbar/Makefile

23 lines
395 B
Makefile
Raw Normal View History

2025-01-27 18:12:49 +01:00
CC = gcc
#CFLAGS = -Wall -pedantic -Werror -std=c99
CFLAGS = -Wall -pedantic
target = rcbar
source = main.c
release = -O2
debug = -g
valgrind = -ggdb3
$(target): Makefile $(source)
# @echo "sestavuji"
$(CC) -o $(target) $(source) $(release) $(CFLAGS)
.PHONY : clean
clean:
# @echo "provadim clean"
rm -f $(target)
install: $(target)
@echo "Instaluji"
cp -f $(target) /usr/local/bin
sync