Files

12 lines
407 B
Diff
Raw Permalink Normal View History

2023-04-08 02:48:28 +08:00
--- 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
2023-04-08 02:48:28 +08:00
- $(CC) -Wall -O0 -o eigenmath eigenmath.c -lm
+ $(CC) -Wall $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o eigenmath eigenmath.c
2023-04-08 02:48:28 +08:00
eigenmath.c: src/defs.h src/prototypes.h $(CFILES)
cat src/defs.h src/prototypes.h $(CFILES) > eigenmath.c