1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/Makefile

14 lines
295 B
Makefile
Raw Normal View History

2019-05-15 19:26:40 +02:00
# The OS/K Team licences this file to you under the MIT license.
# See the LICENCE 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