-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
-LDFLAGS = -m elf_i386 -nostdlib -T com32.ld -Map game.map
+CFLAGS = -pedantic -Wall -O2 -ffast-math -fno-strict-aliasing -g $(inc) -MMD
+LDFLAGS = -lGL -lX11 -lXext -lm