termux-packages/packages/rubiks-cube/Makefile.patch

12 lines
403 B
Diff
Raw Normal View History

2022-01-25 09:11:09 +01:00
--- 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