Permalink
Browse files

start reorganizing components

  • Loading branch information...
NotFound committed May 10, 2011
1 parent d064ae3 commit 0c910b809de34bcd7a882a92faae24c13716c1f5
Showing with 926 additions and 742 deletions.
  1. +18 −2 Makefile
  2. +6 −736 winxedxx.h
  3. +13 −4 winxedxx.winxed
  4. +164 −0 winxedxx_classes.cxx
  5. +55 −0 winxedxx_default.h
  6. +99 −0 winxedxx_integer.h
  7. +49 −0 winxedxx_null.h
  8. +59 −0 winxedxx_object.h
  9. +281 −0 winxedxx_objectptr.cxx
  10. +80 −0 winxedxx_types.h
  11. +102 −0 winxedxx_util.cxx
View
@@ -12,11 +12,15 @@ CXXOPTS = -g -Wall -ldl
#-----------------------------------------------------------------------
+OBJS = winxedxx_objectptr.o winxedxx_util.o winxedxx_classes.o
+
+#-----------------------------------------------------------------------
+
all: simple
./simple
-simple: simple.cxx winxedxx.h
- $(CXX) $(CXXOPTS) -o simple simple.cxx
+simple: simple.cxx winxedxx.h $(OBJS)
+ $(CXX) $(CXXOPTS) -o simple simple.cxx $(OBJS)
simple.cxx: simple.winxed winxedxx.pbc
$(PARROT) $(WINXEDLIB) winxedxx.pbc -o simple.cxx simple.winxed
@@ -28,9 +32,21 @@ winxedxx.pbc: winxedxx.winxed
#-----------------------------------------------------------------------
+winxedxx_objectptr.o: winxedxx_objectptr.cxx
+ $(CXX) $(CXXOPTS) -c winxedxx_objectptr.cxx
+
+winxedxx_classes.o: winxedxx_classes.cxx
+ $(CXX) $(CXXOPTS) -c winxedxx_classes.cxx
+
+winxedxx_util.o: winxedxx_util.cxx
+ $(CXX) $(CXXOPTS) -c winxedxx_util.cxx
+
+#-----------------------------------------------------------------------
+
clean:
rm -f \
winxedxx.pbc \
+ $(OBJS) \
simple simple.cxx
# End
Oops, something went wrong.

0 comments on commit 0c910b8

Please sign in to comment.