diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5761abc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.o diff --git a/Makefile b/Makefile index 52dd91d..a9671f3 100644 --- a/Makefile +++ b/Makefile @@ -8,14 +8,14 @@ all: nibbles_asm nibbles_asm_start gcc -Os -std=c11 -m32 -march=i686 -Wall -g -c $< # Rule for compiling assembly source -.s.o: - #as -gstabs $^ -o $@ +.S.o: + #as --32 -gstabs $^ -o $@ gcc -m32 -march=i686 -c $< # C game nibbles_c: main.o cnibbles.o - gcc -lcurses $^ -o $@ + gcc -m32 -lcurses $^ -o $@ # ASM game nibbles_asm: main.o nibbles.o helpers.o diff --git a/nibbles_asm b/nibbles_asm new file mode 100755 index 0000000..683b409 Binary files /dev/null and b/nibbles_asm differ diff --git a/nibbles_asm_start b/nibbles_asm_start new file mode 100755 index 0000000..5d003ac Binary files /dev/null and b/nibbles_asm_start differ