Skip to content

Commit

Permalink
Merge pull request #8 from mockingbirdnest/Makefile
Browse files Browse the repository at this point in the history
This is really C code
  • Loading branch information
pleroy authored Oct 26, 2024
2 parents 42ade36 + e53e10a commit 245912e
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 245912e

Please sign in to comment.