diff --git a/.gitignore b/.gitignore index 43cad3d..1fe5e0c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build result +*.o diff --git a/Makefile b/Makefile index 823a4cb..9f546a1 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ build/%.o: build/%.S clean: rm build/* 2> /dev/null || true + $(MAKE) -C syscall clean build/%.S: src/%.jazz JASMINPATH="Jade=libjade/src/" $(JC) $< -o $@ diff --git a/syscall/Makefile b/syscall/Makefile index e985027..ff518ad 100644 --- a/syscall/Makefile +++ b/syscall/Makefile @@ -1,3 +1,8 @@ +.PHONY: clean + all: jasmin_syscall.o jasmin_syscall.o: jasmin_syscall.c jasmin_syscall.h + +clean: + rm jasmin_syscall.o || true diff --git a/syscall/jasmin_syscall.o b/syscall/jasmin_syscall.o deleted file mode 100644 index 66eefbc..0000000 Binary files a/syscall/jasmin_syscall.o and /dev/null differ