Fixed makefile

This commit is contained in:
2014-11-30 15:52:16 +01:00
parent 4f101f7f84
commit 712a26f1ba
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
*.o
+3 -3
View File
@@ -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
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.