From 652836b0d2cbab3e3c52eba687f5002a63d9183c Mon Sep 17 00:00:00 2001 From: keiravillekode Date: Mon, 30 Dec 2024 19:09:33 +1100 Subject: [PATCH] tidy concept/basics (#250) --- exercises/concept/basics/Makefile | 2 +- exercises/concept/basics/basics_test.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/concept/basics/Makefile b/exercises/concept/basics/Makefile index 26b49d7d..ded24517 100644 --- a/exercises/concept/basics/Makefile +++ b/exercises/concept/basics/Makefile @@ -21,7 +21,7 @@ ALL_ASFLAGS += $(ASFLAGS) C_OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) AS_OBJS = $(patsubst %.asm,%.o,$(wildcard *.asm)) -ALL_OBJS = $(C_OBJS) $(AS_OBJS) +ALL_OBJS = $(filter-out exemplar.o,$(C_OBJS) $(AS_OBJS)) CC_CMD = $(CC) $(ALL_CFLAGS) -c -o $@ $< diff --git a/exercises/concept/basics/basics_test.c b/exercises/concept/basics/basics_test.c index f79c8ac3..9a04b94b 100644 --- a/exercises/concept/basics/basics_test.c +++ b/exercises/concept/basics/basics_test.c @@ -13,4 +13,5 @@ int main(void) { assert(8 == preparation_time_in_minutes(4)); assert(32 == elapsed_time_in_minutes(1, 30)); assert(16 == elapsed_time_in_minutes(4, 8)); + return 0; }