can read character from keyboard now

This commit is contained in:
2024-12-04 17:17:53 +09:00
parent f18775bfdd
commit 4580d576a8
25 changed files with 729 additions and 371 deletions

View File

@@ -1,15 +1,17 @@
PROG=installboot
SRCS=$(wildcard *.c)
OBJS=$(SRCS:.c=.o)
SDIR ?= ../
BDIR ?= ./
PROG = installboot
SRCS = installboot.c
OBJS = installboot.o
CFLAGS = -g -Wall -Werror
CPPFLAGS = -I $(IDIR)
CPPFLAGS = -I $(SDIR)
${PROG}: $(OBJS)
$(CC) $(CFLAGS) -o $(BDIR)/$(PROG) $^
cp filecopy.sh $(BDIR)
$(CC) $(CFLAGS) -o $(BDIR)/$(PROG) $(OBJS)
$(OBJS): ../dat.h
$(OBJS): $(SDIR)/u.h $(SDIR)/btld_conf.h $(SDIR)/btld_disk.h elf32.h
clean:
rm -rf $(PROG) *.o
rm -rf $(PROG) $(OBJS)