summaryrefslogtreecommitdiff
path: root/dos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 1bfc5135..ad202ee8 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -11,7 +11,8 @@ CC = gcc
LD = ld -m elf_i386
OBJCOPY = objcopy
OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-INCLUDES = -include code16.h -I. -I.. -I../libfat -I ../libinstaller
+INCLUDES = -include code16.h -nostdinc -iwithprefix include \
+ -I. -I.. -I../libfat -I ../libinstaller
CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -msoft-float $(OPTFLAGS) $(INCLUDES)
LDFLAGS = -T com16.ld
AR = ar