aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/custom/wildcard/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/custom/wildcard/makefile')
-rw-r--r--dist/examples/cxx/hybrid/custom/wildcard/makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/dist/examples/cxx/hybrid/custom/wildcard/makefile b/dist/examples/cxx/hybrid/custom/wildcard/makefile
index 71283bb..43b38df 100644
--- a/dist/examples/cxx/hybrid/custom/wildcard/makefile
+++ b/dist/examples/cxx/hybrid/custom/wildcard/makefile
@@ -44,6 +44,13 @@ envelope-simpl.o: envelope-simpl.cxx envelope-simpl.hxx email.hxx body.hxx
$(root)/bin/xsde cxx-hybrid $(XSDFLAGS) $(EXTRA_XSDFLAGS) \
--options-file options $<
+
+# Generate.
+#
+.PHONY: gen
+gen: email.hxx
+
+
# Test.
#
.PHONY: test
@@ -52,9 +59,11 @@ test: driver email.xml
# Clean.
#
-.PHONY: clean
-clean:
- rm -f email-pimpl.?xx email-pskel.?xx email-simpl.?xx \
-email-sskel.?xx email.?xx envelope-pimpl.o envelope-simpl.o \
-email-pimpl.o email-pskel.o email-simpl.o email-sskel.o \
-body.o email.o driver.o driver
+.PHONY: clean cleanobj
+cleanobj:
+ rm -f envelope-pimpl.o envelope-simpl.o email-pimpl.o email-pskel.o \
+email-simpl.o email-sskel.o body.o email.o driver.o driver
+
+clean: cleanobj
+ rm -f email-pimpl.?xx email-pskel.?xx email-simpl.?xx email-sskel.?xx \
+email.?xx