termux-packages/packages/glulxe/Makefile.patch

27 lines
767 B
Diff

--- ../Makefile.orig 2017-01-23 20:14:37.000000000 +0100
+++ ./Makefile 2019-10-24 21:25:57.022914016 +0200
@@ -7,9 +7,9 @@
# sets of values appear below; uncomment one of them and change the
# directories appropriately.
-GLKINCLUDEDIR = ../cheapglk
-GLKLIBDIR = ../cheapglk
-GLKMAKEFILE = Make.cheapglk
+GLKINCLUDEDIR = glkterm
+GLKLIBDIR = glkterm
+GLKMAKEFILE = Make.glktermw
#GLKINCLUDEDIR = ../glkterm
#GLKLIBDIR = ../glkterm
@@ -29,9 +29,8 @@
# Pick a C compiler.
#CC = cc
-CC = gcc
-OPTIONS = -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-unused -DOS_UNIX
+OPTIONS := $(CFLAGS) -DOS_UNIX
# Locate the libxml2 library. You only need these lines if you are using
# the VM_DEBUGGER option. If so, uncomment these and set appropriately.