-# Various dialect translators.
-
-LEX = flex
-
-BUILD = jethro kraut cockney jive nyc ken ky00te newspeak
-OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd
+LEX = flex
+BUILD = jethro kraut cockney jive nyc ken ky00te newspeak
+OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd
+CFLAGS = -O2
+INSTALL_PROGRAM = install
+
+# DEB_BUILD_OPTIONS suport, to control binary stripping.
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+INSTALL_PROGRAM += -s
+endif
+
+# And debug building.
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -g
+endif