Subversion Repositories HelenOS

Rev

Rev 3158 | Rev 3569 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3158 Rev 3220
Line 61... Line 61...
61
	interp.s
61
	interp.s
62
 
62
 
63
SOURCES := $(GENERIC_SOURCES) $(ARCH_SOURCES)
63
SOURCES := $(GENERIC_SOURCES) $(ARCH_SOURCES)
64
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
64
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
65
 
65
 
66
.PHONY: all clean depend disasm inc
66
.PHONY: all clean depend disasm
67
 
67
 
68
all: inc $(OUTPUT) disasm
68
all: $(OUTPUT) disasm
69
 
-
 
70
inc:
-
 
71
	ln -sfn ../arch/$(ARCH)/include include/arch
-
 
72
 
69
 
73
-include Makefile.depend
70
-include Makefile.depend
74
 
71
 
75
clean:
72
clean:
76
	-rm -f $(OUTPUT) $(OBJECTS) $(OUTPUT).map $(OUTPUT).disasm arch/$(ARCH)/_link.ld Makefile.depend include/arch
73
	-rm -f $(OUTPUT) $(OBJECTS) $(OUTPUT).map $(OUTPUT).disasm arch/$(ARCH)/_link.ld Makefile.depend
77
 
74
 
78
depend:
75
depend:
79
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
76
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
80
 
77
 
81
$(OUTPUT): $(OBJECTS) $(LIBS) arch/$(ARCH)/_link.ld
78
$(OUTPUT): $(OBJECTS) $(LIBS) arch/$(ARCH)/_link.ld