Makefile fixes

This commit is contained in:
François Autin 2023-04-05 15:09:10 +02:00
parent 7179931224
commit 24919a9879
No known key found for this signature in database
GPG Key ID: 343F5D382E1DD77C

View File

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