aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-10 14:12:58 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-10 14:12:58 -0700
commit83d1b33a86685ede62933f761b8e0b61c48b269f (patch)
tree3b8da1457324bfe319afc7a6cac762c21ea5aeb3 /com32/samples/Makefile
parent985c965eca140470d87912cebd923cd27a6d892c (diff)
downloadsyslinux-elf-83d1b33a86685ede62933f761b8e0b61c48b269f.tar.gz
syslinux-elf-83d1b33a86685ede62933f761b8e0b61c48b269f.tar.xz
syslinux-elf-83d1b33a86685ede62933f761b8e0b61c48b269f.zip
Makefiles: create NASMOPT variable
Create NASMOPT variable, defaulting to -O9999. Mostly there to test beta versions of NASM.
Diffstat (limited to 'com32/samples/Makefile')
-rw-r--r--com32/samples/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/samples/Makefile b/com32/samples/Makefile
index 5ac2aad3..e14e08f1 100644
--- a/com32/samples/Makefile
+++ b/com32/samples/Makefile
@@ -1,6 +1,6 @@
## -----------------------------------------------------------------------
##
-## Copyright 2001-2004 H. Peter Anvin - All Rights Reserved
+## Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@ CC = gcc
LD = ld -m elf_i386
AR = ar
NASM = nasm
+NASMOPT = -O9999
RANLIB = ranlib
CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
LNXCFLAGS = -W -Wall -O -g -I../libutil/include