# The OS/K Team licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. src = arch.c instrs.c main.c regs.c obj = $(patsubst %.c,%.o,$(src)) %.o: %.c @gcc -O2 -Wall -c $< -o $@ k.exe: $(obj) @gcc -O2 -Wall $(obj) -o k.exe @rm *.o