Mon 14 Oct 23:09:15 CEST 2024

This commit is contained in:
sbosse 2024-10-14 23:09:32 +02:00
parent f64988e146
commit 124d789899

16
user/Makefile Normal file
View File

@ -0,0 +1,16 @@
include ../Makefile.config
USER_PROGRAMS=ball.exe clock.exe copy.exe livestat.exe manager.exe fractal.exe procstat.exe saver.exe shell.exe snake.exe sysstat.exe
all: $(USER_PROGRAMS)
%.o: %.c
${CC} ${KERNEL_CCFLAGS} -O2 -I ../include $< -o $@
%.exe: %.o ../library/user-start.o ../library/baselib.a
${LD} ${KERNEL_LDFLAGS} -Ttext 0x80000000 ../library/user-start.o $< ../library/baselib.a -o $@
${OBJCOPY} -R .comment --strip-debug $@
clean:
rm -rf *.exe *.o