sync
This commit is contained in:
20
C/t-oer-prc2-cbdb-main/Assignments/BikeComputer/Makefile
Normal file
20
C/t-oer-prc2-cbdb-main/Assignments/BikeComputer/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
NAME=main
|
||||
|
||||
FILES=main.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