Subversion Repositories HelenOS

Rev

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

Rev 4243 Rev 4261
Line 58... Line 58...
58
	-rm -f $(OUTPUT) $(addsuffix .map,$(basename $(SOURCES))) $(DISASMS) Makefile.depend
58
	-rm -f $(OUTPUT) $(addsuffix .map,$(basename $(SOURCES))) $(DISASMS) Makefile.depend
59
 
59
 
60
depend:
60
depend:
61
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
61
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
62
 
62
 
63
$(OUTPUT): $(OBJECTS) $(LIBS)
63
$(OUTPUT): freshen $(OBJECTS) $(LIBS)
64
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $@.map
64
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $@.map
65
 
65
 
-
 
66
freshen:
-
 
67
if $(REBUILD)
-
 
68
	-rm -f $(addsuffix .o,$(basename $(REBUILD)))
-
 
69
endif
-
 
70
 
66
disasm: $(DISASMS)
71
disasm: $(DISASMS)
67
 
72
 
68
%.disasm: $@
73
%.disasm: $@
69
	$(OBJDUMP) -d $< >$@
74
	$(OBJDUMP) -d $< >$@
70
 
75