summaryrefslogtreecommitdiffstats
path: root/schedsim/schedsim_priority/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-12-17 15:53:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-12-17 15:53:17 +0000
commit0529b354b3877c857ff90dc98f861c4e009b539a (patch)
tree7fcf44a98d08e3d42544c50ca75d5901613ed4af /schedsim/schedsim_priority/Makefile
parent2010-05-11 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-examples-0529b354b3877c857ff90dc98f861c4e009b539a.tar.bz2
2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, schedsim_priority/Makefile, schedsim_priority/README, schedsim_priority/config.c, schedsim_priority/printheir_executing.c, schedsim_priority/schedsim.cc, schedsim_priority/wrap_thread_dispatch.c: New files.
Diffstat (limited to 'schedsim/schedsim_priority/Makefile')
-rw-r--r--schedsim/schedsim_priority/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/schedsim/schedsim_priority/Makefile b/schedsim/schedsim_priority/Makefile
new file mode 100644
index 0000000..b92e4ea
--- /dev/null
+++ b/schedsim/schedsim_priority/Makefile
@@ -0,0 +1,17 @@
+#
+# $Id$
+#
+
+PREFIX=/home/jennifer/rtems-head-work/bsp-install/
+OBJS = config.o printheir_executing.o schedsim.o wrap_thread_dispatch.o
+CPPFLAGS = -I${PREFIX}/include/schedsim
+LDFLAGS = -L${PREFIX}/lib
+LDFLAGS += -Wl,--wrap=_Thread_Dispatch
+
+all: schedsim
+
+schedsim: $(OBJS)
+ g++ -o schedsim $(OBJS) $(LDFLAGS) -lschedsim -lrtems
+
+clean:
+ rm -f *.o schedsim