Subversion Repositories HelenOS

Rev

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

Rev 4044 Rev 4049
Line 125... Line 125...
125
 
125
 
126
OBJECTS := $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS)
126
OBJECTS := $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS)
127
 
127
 
128
.PHONY: all clean depend disasm links
128
.PHONY: all clean depend disasm links
129
 
129
 
130
all: links $(OUTPUT) $(OUTPUT).disasm
130
all: $(OUTPUT) $(OUTPUT).disasm
131
 
131
 
132
-include Makefile.depend
132
-include Makefile.depend
133
 
133
 
134
links:
-
 
135
	ln -sfn ../arch/$(UARCH)/include include/arch
-
 
136
	ln -sfn ../genarch/include include/genarch
-
 
137
 
-
 
138
clean:
134
clean:
139
	-rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch include/genarch $(OBJECTS)
135
	-rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
140
 
136
 
141
depend:
137
depend:
142
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
138
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
143
 
139
 
144
$(OUTPUT): $(OBJECTS) $(LIBS)
140
$(OUTPUT): $(OBJECTS) $(LIBS)