File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# Works on Linux, macOS, and Windows
44# ============================================================
55
6+ # Define target executable (must be defined before config.mk is included)
7+ BIN := luma
8+
69# Include default config
710include config.default.mk
811
1518# Paths & Files
1619# ------------------------------------------------------------
1720
18- BIN := luma
19-
2021# Detect OS and set appropriate commands
2122ifeq ($(OS ) ,Windows_NT)
2223 # Windows commands
@@ -152,4 +153,4 @@ help:
152153 @echo run-llvm - Run generated bitcode with lli
153154 @echo compile-native - Compile LLVM IR to native executable
154155 @echo clean - Remove all build artifacts
155- @echo help - Show this help
156+ @echo help - Show this help
Original file line number Diff line number Diff line change 1- CC = @CXX @
1+ CC = @CC @
22CFLAGS += @CXXFLAGS@
33LDFLAGS += @LDFLAGS@
44PREFIX = @prefix@
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ AC_PREREQ([2.69])
33AC_CONFIG_SRCDIR ( [ src/main.c] ) # sanity check to make sure someone didn't pass a garbage --srcdir
44# AM_INIT_AUTOMAKE([foreign 1.16 dist-bzip2])
55
6- AC_PROG_CXX
7- AC_LANG ( C++ )
8- AC_SUBST ( CXX )
6+ AC_PROG_CC
7+ AC_LANG ( C )
8+ AC_SUBST ( CC )
99# connor, i have no idea why you're expecting CC to be a C++ compiler.
1010# that's what CXX is for.
1111
You can’t perform that action at this time.
0 commit comments