view src/Make_morph.mak @ 16295:b2ed528e85ef v8.1.1152

patch 8.1.1152: compiler warning with VS2019 commit https://github.com/vim/vim/commit/7edf0baef4e11df982bd37356a4e4d28ff046c86 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 11 17:22:57 2019 +0200 patch 8.1.1152: compiler warning with VS2019 Problem: Compiler warning with VS2019. Solution: Specify different offset for "AMD64". (closes https://github.com/vim/vim/issues/4235)
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 Apr 2019 17:30:04 +0200
parents 570a296aa0b4
children 1dcbaa780b8e
line wrap: on
line source

#
# Makefile for VIM, using MorphOS SDK (gcc 2.95.3)
#

CFLAGS =	-c						\
		-pipe						\
		-O2						\
		-Wall						\
								\
		-DNO_ARP					\
		-DUSE_TMPNAM					\
								\
		-I proto					\
								\
		-noixemul

PRG =		Vim
LIBS =		-noixemul -s
CC =		gcc
LD =		gcc
OBJDUMP =	objdump
RM =		rm

.c.o:
	${CC} ${CFLAGS} $< -o $@

SRC =	arabic.c						\
	autocmd.c						\
	blowfish.c						\
	buffer.c						\
	charset.c						\
	crypt.c							\
	crypt_zip.c						\
	dict.c							\
	diff.c							\
	digraph.c						\
	edit.c							\
	eval.c							\
	evalfunc.c						\
	ex_cmds.c						\
	ex_cmds2.c						\
	ex_docmd.c						\
	ex_eval.c						\
	ex_getln.c						\
	fileio.c						\
	findfile.c						\
	fold.c							\
	getchar.c						\
	hardcopy.c						\
	hashtab.c						\
	indent.c						\
	insexpand.c						\
	json.c							\
	list.c							\
	main.c							\
	mark.c							\
	mbyte.c							\
	memfile.c						\
	memline.c						\
	menu.c							\
	message.c						\
	misc1.c							\
	misc2.c							\
	move.c							\
	normal.c						\
	ops.c							\
	option.c						\
	os_amiga.c						\
	popupmnu.c						\
	quickfix.c						\
	regexp.c						\
	screen.c						\
	search.c						\
	sha256.c						\
	sign.c							\
	spell.c							\
	spellfile.c						\
	syntax.c						\
	tag.c							\
	term.c							\
	ui.c							\
	undo.c							\
	userfunc.c						\
	version.c						\
	window.c						\

OBJ =	$(SRC:.c=.o)

$(PRG): $(OBJ)
	${LD} -o $(PRG) $(OBJ) $(LIBS)

dump: $(PRG)
	$(OBJDUMP) --reloc --disassemble-all $(PRG) > $(PRG).s

clean:
	$(RM) -fv $(OBJ) $(PRG) $(PRG).s