--- Makefile.orig	2023-04-07 06:39:16.000000000 +0800
+++ Makefile	2023-04-08 02:44:39.000000000 +0800
@@ -3,7 +3,7 @@
 CFILES := $(shell ls src/*.c)
 
 eigenmath: eigenmath.c
-	$(CC) -Wall -O0 -o eigenmath eigenmath.c -lm
+	$(CC) -Wall $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o eigenmath eigenmath.c
 
 eigenmath.c: src/defs.h src/prototypes.h $(CFILES)
 	cat src/defs.h src/prototypes.h $(CFILES) > eigenmath.c
