summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.proto3
-rw-r--r--src/ao_product.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.proto b/src/Makefile.proto
index 309fd75d..d4a8c4ea 100644
--- a/src/Makefile.proto
+++ b/src/Makefile.proto
@@ -359,8 +359,7 @@ all: ../$(PROG)
ao_product.h: ao-make-product.5c ../Version
$(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
-ao_product.rel: ao_product.c ao_product.h
- $(call quiet,CC) -c $(CFLAGS) -D PRODUCT_DEFS='\"ao_product.h\"' -o$@ $<
+$(REL): ao_product.h
distclean: clean
diff --git a/src/ao_product.c b/src/ao_product.c
index bb42e92c..fb59580b 100644
--- a/src/ao_product.c
+++ b/src/ao_product.c
@@ -16,7 +16,7 @@
*/
#include "ao.h"
-#include PRODUCT_DEFS
+#include "ao_product.h"
/* Defines which mark this particular AltOS product */