Fixed makefile
This commit is contained in:
@@ -0,0 +1 @@
|
||||
*.o
|
||||
@@ -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
Binary file not shown.
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user