This commit is contained in:
louiscklaw
2025-01-31 21:28:24 +08:00
parent ca0eb416dd
commit 86fddf271b
10 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
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 $@