Use a bin/ folder again.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
# Ignore binaries
|
# Ignore binaries
|
||||||
*.o
|
*.o
|
||||||
helloworld
|
bin/
|
||||||
|
3
Makefile
3
Makefile
@ -6,7 +6,8 @@ OBJ=src/helloworld.o
|
|||||||
$(AS) -o $@ $<
|
$(AS) -o $@ $<
|
||||||
|
|
||||||
helloworld: $(OBJ)
|
helloworld: $(OBJ)
|
||||||
$(LINKER) -o $@ $^
|
mkdir -p bin/
|
||||||
|
$(LINKER) -o bin/$@ $^
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user