Subversion Repositories HelenOS

Rev

Rev 4377 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4377 Rev 4692
Line 39... Line 39...
39
## Sources
39
## Sources
40
#
40
#
41
 
41
 
42
OUTPUT = ns
42
OUTPUT = ns
43
SOURCES = \
43
SOURCES = \
44
	ns.c
44
	ns.c \
-
 
45
	service.c \
-
 
46
	clonable.c \
-
 
47
	task.c
45
 
48
 
46
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
49
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
47
 
50
 
48
.PHONY: all clean depend disasm
51
.PHONY: all clean depend disasm
49
 
52
 
Line 61... Line 64...
61
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
64
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
62
 
65
 
63
disasm: $(OUTPUT).disasm
66
disasm: $(OUTPUT).disasm
64
 
67
 
65
$(OUTPUT).disasm: $(OUTPUT)
68
$(OUTPUT).disasm: $(OUTPUT)
66
	$(OBJDUMP) -d $< >$@
69
	$(OBJDUMP) -d $< > $@
67
 
70
 
68
%.o: %.S
71
%.o: %.S
69
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
72
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
70
 
73
 
71
%.o: %.s
74
%.o: %.s