dthello: build the resource file Dthello
authorJon Trulson <jon@radscan.com>
Mon, 25 Nov 2019 00:01:57 +0000 (17:01 -0700)
committerJon Trulson <jon@radscan.com>
Mon, 25 Nov 2019 00:01:57 +0000 (17:01 -0700)
cde/programs/dthello/Makefile.am

index 7f645462d3b0b6a706ba7924d951692afe7be1e8..360e1dbbbb56f28abc99def2ccd7e9b2c83b9ef9 100644 (file)
@@ -13,3 +13,11 @@ dthello_LDADD += $(TIRPCLIB)
 endif
 
 dthello_SOURCES = dthello.c
+
+CPP_TARGETS = Dthello
+BUILT_SOURCES = $(CPP_TARGETS)
+CLEANFILES = $(CPP_TARGETS)
+
+Dthello: Dthello.src
+       $(RM) $@
+       $(GENCPP) -P -DXCOMM=#  $< > $@