Skip to content

Commit

Permalink
This is really C code.
Browse files Browse the repository at this point in the history
  • Loading branch information
pleroy committed Oct 26, 2024
1 parent 6a247cd commit e53e10a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,5 +22,5 @@ all: $(LIBRARY_OBJECTS)
clean:
rm -f src/*/*/*.o

%.o: %.cc
%.o: %.c
$(CXX) -c -o $@ $< $(COMPILER_OPTIONS)

0 comments on commit e53e10a

Please sign in to comment.