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