Lines 23-33
Link Here
|
23 |
#CC = cc |
23 |
#CC = cc |
24 |
CC = gcc |
24 |
CC = gcc |
25 |
|
25 |
|
26 |
OPTIONS = -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-unused -DOS_UNIX |
26 |
OPTIONS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-unused -DOS_UNIX |
27 |
|
27 |
|
28 |
include $(GLKINCLUDEDIR)/$(GLKMAKEFILE) |
28 |
include $(GLKINCLUDEDIR)/$(GLKMAKEFILE) |
29 |
|
29 |
|
30 |
CFLAGS = $(OPTIONS) -I$(GLKINCLUDEDIR) |
30 |
CFLAGS += $(OPTIONS) -I$(GLKINCLUDEDIR) |
31 |
LIBS = -L$(GLKLIBDIR) $(GLKLIB) $(LINKLIBS) |
31 |
LIBS = -L$(GLKLIBDIR) $(GLKLIB) $(LINKLIBS) |
32 |
|
32 |
|
33 |
OBJS = main.o files.o vm.o exec.o funcs.o operand.o string.o glkop.o \ |
33 |
OBJS = main.o files.o vm.o exec.o funcs.o operand.o string.o glkop.o \ |
Lines 36-42
Link Here
|
36 |
all: glulxe |
36 |
all: glulxe |
37 |
|
37 |
|
38 |
glulxe: $(OBJS) unixstrt.o |
38 |
glulxe: $(OBJS) unixstrt.o |
39 |
$(CC) $(OPTIONS) -o glulxe $(OBJS) unixstrt.o $(LIBS) |
39 |
$(CC) $(OPTIONS) $(LDFLAGS) -o glulxe $(OBJS) unixstrt.o $(LIBS) |
40 |
|
40 |
|
41 |
glulxdump: glulxdump.o |
41 |
glulxdump: glulxdump.o |
42 |
$(CC) -o glulxdump glulxdump.o |
42 |
$(CC) -o glulxdump glulxdump.o |