Fix build makefiles

This commit is contained in:
Quentin Legot
2023-03-28 19:35:24 +02:00
parent 7a32aa503c
commit e170256c9b
6 changed files with 53 additions and 14 deletions

View File

@ -1,11 +1,17 @@
TOPDIR = ../..
include $(TOPDIR)/Makefile.tests
build: comparisons if switch
PROGRAMS = comparisons if switch
build: $(PROGRAMS)
dumps: comparisons.dump if.dump switch.dump
tests: comparisons.guac if.guac switch.guac
TOPDIR = ../..
include $(TOPDIR)/Makefile.tests
clean:
$(RM) comparisons comparisons.o if if.o
# Dependances
$(PROGRAMS): % : $(USERLIB)/sys.o $(USERLIB)/libnachos.o %.o