ref: 93ffe960eac49121742f4d38a2802043fa317c4e
parent: 0fac45fafba58d085647c783ff36b08abf58c76b
author: Snesrev <snesrev@protonmail.com>
date: Wed Aug 31 22:07:36 EDT 2022
Add -lm
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@
endif
override CFLAGS := -O2 `sdl2-config --cflags` $(LTO) $(CXXFLAGS)
-override LDFLAGS := `sdl2-config --libs` $(LDFLAGS)
+override LDFLAGS := -lm `sdl2-config --libs` $(LDFLAGS)
override OBJS = $(patsubst %.c,%.o,$(wildcard *.c snes/*.c))
override BIN = zelda3