move includes to sourcefiles
- fix initialise_ram() function - add function-doc comments
This commit is contained in:
4
makefile
4
makefile
@ -7,7 +7,7 @@ DEBUG = -DNDEBUG
|
||||
|
||||
VPATH = src src/debug
|
||||
#--------------Linker-Part-----------------
|
||||
toy_cpu : main.o toy.o debug.o
|
||||
toy_cpu : main.o toy.o helper.o
|
||||
echo $@ is now linked
|
||||
$(CC) $(LDFLAGS) -o $@ $^
|
||||
#--------------Compiler-Part---------------
|
||||
@ -17,7 +17,7 @@ main.o : main.c
|
||||
toy.o : toy.c toy.h
|
||||
$(CC) $(DEBUG) $(CFLAGS) -o $@ -c $<
|
||||
|
||||
debug.o : debug.c debug.h
|
||||
helper.o : helper.c helper.h
|
||||
$(CC) $(DEBUG) $(CFLAGS) -o $@ -c $<
|
||||
|
||||
clean :
|
||||
|
Reference in New Issue
Block a user