Subversion Repositories HelenOS

Rev

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

Rev 4389 Rev 4691
Line 42... Line 42...
42
 
42
 
43
OUTPUT = tester
43
OUTPUT = tester
44
SOURCES = tester.c \
44
SOURCES = tester.c \
45
	thread/thread1.c \
45
	thread/thread1.c \
46
	print/print1.c \
46
	print/print1.c \
-
 
47
	print/print2.c \
-
 
48
	print/print3.c \
47
	print/print4.c \
49
	print/print4.c \
-
 
50
	console/console1.c \
-
 
51
	stdio/stdio1.c \
-
 
52
	stdio/stdio2.c \
48
	fault/fault1.c \
53
	fault/fault1.c \
49
	fault/fault2.c \
54
	fault/fault2.c \
-
 
55
	vfs/vfs1.c \
-
 
56
	ipc/ping_pong.c \
50
	ipc/register.c \
57
	ipc/register.c \
51
	ipc/connect.c \
58
	ipc/connect.c \
52
	ipc/send_async.c \
-
 
53
	ipc/send_sync.c \
-
 
54
	ipc/answer.c \
-
 
55
	ipc/hangup.c \
-
 
56
	ipc/ping_pong.c \
-
 
57
	loop/loop1.c \
59
	loop/loop1.c \
58
	devmap/devmap1.c \
-
 
59
	console/console1.c \
-
 
60
	stdio/stdio1.c \
-
 
61
	stdio/stdio2.c \
-
 
62
	vfs/vfs1.c
60
	mm/malloc1.c
63
 
61
 
64
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
62
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
65
 
63
 
66
.PHONY: all clean depend disasm
64
.PHONY: all clean depend disasm
67
 
65
 
Line 79... Line 77...
79
	$(LD) -T $(LD_SCRIPT) $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
77
	$(LD) -T $(LD_SCRIPT) $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
80
 
78
 
81
disasm: $(OUTPUT).disasm
79
disasm: $(OUTPUT).disasm
82
 
80
 
83
$(OUTPUT).disasm: $(OUTPUT)
81
$(OUTPUT).disasm: $(OUTPUT)
84
	$(OBJDUMP) -d $< >$@
82
	$(OBJDUMP) -d $< > $@
85
 
83
 
86
%.o: %.S
84
%.o: %.S
87
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
85
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
88
 
86
 
89
%.o: %.s
87
%.o: %.s