C ordening
This commit is contained in:
21
C/C1 bike computer/Makefile
Normal file
21
C/C1 bike computer/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
NAME=main
|
||||
|
||||
FILES = $(wildcard *.c)
|
||||
|
||||
CC=gcc
|
||||
|
||||
SYMBOLS=-g -O0 -std=c99 -Wall -Werror -Wextra -pedantic -Wno-unused-parameter
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
all: product
|
||||
|
||||
product: Makefile $(FILES)
|
||||
$(CC) $(INC_DIRS) $(SYMBOLS) $(FILES) -o $(NAME)
|
||||
|
||||
run: product
|
||||
./$(NAME)
|
||||
|
||||
clean:
|
||||
rm -f $(NAME)
|
||||
|
||||
Reference in New Issue
Block a user