termux-packages/packages/rubiks-cube/Makefile.patch
2022-01-27 11:16:48 +09:00

12 lines
403 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
endif
default: 3d.c CAM-curses-ascii-matcher/CAM.c menu.c
- cc 3d.c CAM-curses-ascii-matcher/CAM.c menu.c -Wall -O3 -ffast-math -lm -lncurses -o rubiks_cube
+ $(CC) $(CFLAGS) $(CPPFLAGS) 3d.c CAM-curses-ascii-matcher/CAM.c menu.c -Wall -O3 -ffast-math -lm -lncurses -o rubiks_cube $(LDFLAGS)
install: rubiks_cube
install -d $(DESTDIR)$(PREFIX)/bin