Makefile fixes

This commit is contained in:
François Autin
2023-04-05 15:09:10 +02:00
parent cb25b09cff
commit 7179931224
7 changed files with 6 additions and 9 deletions

View File

@ -2,22 +2,18 @@ build:
make build -C boolean_logic/
make build -C jump_instructions/
make build -C simple_arithmetics/
make build -C syscall_tests/
dumps:
make dumps -C boolean_logic/
make dumps -C jump_instructions/
make dumps -C simple_arithmetics/
make dumps -C syscall_tests/
tests:
make tests -C boolean_logic/
make tests -C jump_instructions/
make tests -C simple_arithmetics/
make tests -C syscall_tests/
clean:
$(MAKE) clean -C boolean_logic/
$(MAKE) clean -C jump_instructions/
$(MAKE) clean -C simple_arithmetics/
$(MAKE) clean -C syscall_tests/
$(MAKE) clean -C simple_arithmetics/

View File

@ -1,16 +0,0 @@
PROGRAMS = halt prints
build: $(PROGRAMS)
dumps: halt.dump prints.dump
tests: halt.guac prints.guac
clean:
$(RM) halt.o halt prints prints.o
TOPDIR = ../../..
include $(TOPDIR)/Makefile.rules
$(PROGRAMS): % : $(USERLIB)/sys.o $(USERLIB)/libnachos.o %.o

View File

@ -1,7 +0,0 @@
#include "userlib/syscall.h"
int main() {
Shutdown();
return 0;
}

View File

@ -1,10 +0,0 @@
#include "userlib/syscall.h"
#include "userlib/libnachos.h"
int main() {
n_printf("Hello World 1");
n_printf("Hello World 2");
n_printf("Hello World 3");
n_printf("Hello World 4");
return 0;
}