X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=ec659d8bed5366f4585cc4344cda856ffd881f85;hb=1dd4e7bd6552c077457fe187fa86ae68d9d523c1;hp=9a8942f5cc688609f5c6832ff392db3381cb6876;hpb=d47314873cf54024672cabe3746c80c7d4e6e6fa;p=metatoy diff --git a/Makefile b/Makefile index 9a8942f..ec659d8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -csrc = $(wildcard src/*.c) $(wildcard src/kern/*.c) $(wildcard src/libc/*.c) +csrc = $(wildcard src/*.c) $(wildcard src/kern/*.c) $(wildcard src/libc/*.c) \ + $(wildcard src/3dgfx/*.c) ssrc = $(wildcard src/*.asm) $(wildcard src/kern/*.asm) $(wildcard src/libc/*.asm) obj = $(csrc:.c=.o) $(ssrc:.asm=.o) dep = $(csrc:.c=.d) @@ -13,7 +14,7 @@ AS = nasm ASFLAGS = -Isrc/ -Isrc/kern/ CFLAGS = -m32 -march=i386 $(warn) $(opt) $(dbg) -fno-pic -ffreestanding \ -fno-stack-protector -mpreferred-stack-boundary=2 -nostdinc -ffast-math \ - -fno-asynchronous-unwind-tables $(inc) $(def) -MMD + -fno-asynchronous-unwind-tables -fno-strict-aliasing $(inc) $(def) -MMD LDFLAGS = -m elf_i386 -nostdlib -T com32.ld -Map game.map $(bin): $(obj)