[dirty:segfault] stage 1
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
CCFLAGS = -g -O0 -Iinc/ -I.
|
||||
|
||||
|
||||
main: main.o kernel.o mmu.o process.o random.o
|
||||
gcc $(CCFLAGS) -o main main.o kernel.o mmu.o process.o random.o
|
||||
|
||||
main.o: src/main.c
|
||||
gcc $(CCFLAGS) -c -o main.o src/main.c
|
||||
|
||||
kernel.o: src/kernel.c
|
||||
gcc $(CCFLAGS) -c -o kernel.o src/kernel.c
|
||||
|
||||
mmu.o: src/mmu.c
|
||||
gcc $(CCFLAGS) -c -o mmu.o src/mmu.c
|
||||
|
||||
process.o: src/process.c
|
||||
gcc $(CCFLAGS) -c -o process.o src/process.c
|
||||
|
||||
random.o: src/random.c
|
||||
gcc $(CCFLAGS) -c -o random.o src/random.c
|
||||
|
||||
clean:
|
||||
rm *.o main
|
||||
Reference in New Issue
Block a user