cvsuser 03/08/10 21:58:53
Modified: config/gen/makefiles root.in
Log:
Added "exec" make target that works like this:
# make exec EXEC=<outputfilename>
cc -o <outputfilename> <outputfilename>.o exec_start.o blib/lib/libparrot.a -lm
-lutil
Revision Changes Path
1.102 +9 -0 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -w -r1.101 -r1.102
--- root.in 11 Aug 2003 00:09:53 -0000 1.101
+++ root.in 11 Aug 2003 04:58:53 -0000 1.102
@@ -733,3 +733,12 @@
miniparrot-update :
tools/dev/rebuild_miniparrot.pl
+
+###############################################################################
+#
+# exec:
+#
+###############################################################################
+
+exec : exec_start($O) $(LIBPARROT)
+ $(LINK) ${ld_out}$(EXEC) $(LINKFLAGS) $(EXEC)$(O) exec_start$(O) $(LIBPARROT)
$(C_LIBS)