Refactored makefiles
This commit is contained in:
@ -1,17 +1,14 @@
|
||||
|
||||
PROGRAMS = comparisons if switch
|
||||
PROGRAMS = comparisons.guac if.guac switch.guac
|
||||
TOPDIR = ../../..
|
||||
include $(TOPDIR)/Makefile.rules
|
||||
|
||||
build: $(PROGRAMS)
|
||||
|
||||
dumps: comparisons.dump if.dump switch.dump
|
||||
|
||||
tests: comparisons.guac if.guac switch.guac
|
||||
|
||||
TOPDIR = ../../..
|
||||
include $(TOPDIR)/Makefile.rules
|
||||
|
||||
clean:
|
||||
$(RM) comparisons comparisons.o if if.o
|
||||
$(RM) *.o *.guac
|
||||
|
||||
# Dependances
|
||||
$(PROGRAMS): % : $(USERLIB)/sys.o $(USERLIB)/libnachos.o %.o
|
||||
$(PROGRAMS): %.guac : $(USERLIB)/sys.o $(USERLIB)/libnachos.o %.o
|
Reference in New Issue
Block a user