annotate example/MemList/Makefile.macosx @ 369:93b33cecba37 draft

change TaskManager.cc
author aaa
date Tue, 28 Jul 2009 19:42:59 +0900
parents 1a80a2aa696c
children 205e4a4af635
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
364
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
1 include ./Makefile.def
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
2
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
3 SRCS_TMP = $(wildcard *.cc)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
4 SRCS_EXCLUDE = # 除外するファイルを書く
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
5 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
369
93b33cecba37 change TaskManager.cc
aaa
parents: 368
diff changeset
6 OBJS = $(SRCS:.cc=.o)
364
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
7
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
8 TASK_DIR = ppe
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
9 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
10 TASK_SRCS_EXCLUDE =
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
11 TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
12 TASK_OBJS = $(TASK_SRCS:.cc=.o)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
13
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
14 LIBS += -lFifoManager `sdl-config --libs`
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
15
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
16 .SUFFIXES: .cc .o
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
17
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
18 .cc.o:
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
19 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
20
368
1a80a2aa696c change TaskManager
aaa
parents: 364
diff changeset
21 all: $(TARGET)
1a80a2aa696c change TaskManager
aaa
parents: 364
diff changeset
22
369
93b33cecba37 change TaskManager.cc
aaa
parents: 368
diff changeset
23 #MemList.o: ${CERIUM}/kernel/memory/MemList.cc
93b33cecba37 change TaskManager.cc
aaa
parents: 368
diff changeset
24
364
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
25
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
26 $(TARGET): $(OBJS) $(TASK_OBJS)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
27 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
28
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
29 link:
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
30 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
31
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
32 debug: $(TARGET)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
33 sudo gdb ./$(TARGET)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
34
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
35 clean:
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
36 rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
37 rm -f *~ \#*
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
38 rm -f ppe/*~ ppe/\#*
fd0c819bab53 uint32 to memaddr(uint64)
tkaito@localhost.localdomain
parents:
diff changeset
39 rm -f spe/*~ spe/\#*