From e53e10a052510605bf52f3880101372f5f7bfa80 Mon Sep 17 00:00:00 2001 From: pleroy Date: Sat, 26 Oct 2024 12:18:22 +0200 Subject: [PATCH] This is really C code. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b946073..9a90958 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ COMPILER_OPTIONS := \ -DNDEBUG -Iinclude LIBRARY_TRANSLATION_UNITS := \ - src/binary64/cos/cos.cc \ - src/binary64/sin/sin.cc -LIBRARY_OBJECTS := $(LIBRARY_TRANSLATION_UNITS:.cc=.o) + src/binary64/cos/cos.c \ + src/binary64/sin/sin.c +LIBRARY_OBJECTS := $(LIBRARY_TRANSLATION_UNITS:.c=.o) ifeq ($(UNAME_S),Darwin) COMPILER_OPTIONS += -mmacosx-version-min=10.11 -arch x86_64 @@ -22,5 +22,5 @@ all: $(LIBRARY_OBJECTS) clean: rm -f src/*/*/*.o -%.o: %.cc +%.o: %.c $(CXX) -c -o $@ $< $(COMPILER_OPTIONS)