Files
004_comission/mercury25/task1/provided/rbuoy.mk
louiscklaw 86fddf271b update,
2025-01-31 21:28:24 +08:00

24 lines
339 B
Makefile

CFLAGS =
ifneq (, $(shell which dcc))
CC ?= dcc
else
CC ?= clang
CFLAGS += -Wall
endif
EXERCISES += rbuoy
SRC = rbuoy.c rbuoy_main.c rbuoy_provided.c
INCLUDES = rbuoy.h
# if you add extra .c files, add them here
SRC +=
# if you add extra .h files, add them here
INCLUDES +=
rbuoy: $(SRC) $(INCLUDES)
$(CC) $(CFLAGS) $(SRC) -o $@