aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/serializer/minimal/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/serializer/minimal/makefile')
-rw-r--r--dist/examples/cxx/serializer/minimal/makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/dist/examples/cxx/serializer/minimal/makefile b/dist/examples/cxx/serializer/minimal/makefile
index ff94a42..4c8c23c 100644
--- a/dist/examples/cxx/serializer/minimal/makefile
+++ b/dist/examples/cxx/serializer/minimal/makefile
@@ -45,6 +45,13 @@ people-sskel.o: people-sskel.cxx people-sskel.hxx people.hxx
$(root)/bin/xsde cxx-serializer $(XSDFLAGS) $(EXTRA_XSDFLAGS) \
--type-map $*.map $<
+
+# Generate.
+#
+.PHONY: gen
+gen: people-sskel.hxx
+
+
# Test.
#
.PHONY: test
@@ -54,7 +61,9 @@ test: driver
# Clean.
#
-.PHONY: clean
-clean:
- rm -f people-sskel.?xx people-sskel.o driver.o driver
+.PHONY: clean cleanobj
+cleanobj:
+ rm -f people-sskel.o driver.o driver
+clean: cleanobj
+ rm -f people-sskel.?xx