diff options
Diffstat (limited to 'src/grapes/test')
-rw-r--r-- | src/grapes/test/Makefile | 30 | ||||
-rw-r--r-- | src/grapes/test/main.c | 8 |
2 files changed, 0 insertions, 38 deletions
diff --git a/src/grapes/test/Makefile b/src/grapes/test/Makefile deleted file mode 100644 index ddcc36f..0000000 --- a/src/grapes/test/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -.PHONY: clean, mrproper - -CC = gcc -CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra - -LD = ld -LDFLAGS = -T ../link.ld - -Objects = main.o -Outfile = test - -all: $(Outfile) - echo "* Done with $(Outfile)" - -rebuild: mrproper all - -$(Outfile): $(Objects) - echo "* Linking $@..." - $(LD) $(LDFLAGS) -o $@ $^ - -%.o: %.c - $(CC) $(CFLAGS) -c $< -o $@ - -clean: - echo "* Removing objects..." - rm $(Objects) - -mrproper: clean - rm $(Outfile) - diff --git a/src/grapes/test/main.c b/src/grapes/test/main.c deleted file mode 100644 index 0413889..0000000 --- a/src/grapes/test/main.c +++ /dev/null @@ -1,8 +0,0 @@ -void printk(char *s) { - asm volatile("int $64" : : "a"(4), "b"(s)); -} - -void start() { - printk("Hi world !"); - asm volatile("int $64" : : "a"(3), "b"(0)); -} |