From f301b95e87c8ec1e3b58d595a05d486bede5e0c2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 17 May 2009 23:13:20 -0700 Subject: Embed glade file in executable This eliminates install issues nicely. Signed-off-by: Keith Packard --- aoview/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'aoview/Makefile') diff --git a/aoview/Makefile b/aoview/Makefile index 8f9c08df..1941b080 100644 --- a/aoview/Makefile +++ b/aoview/Makefile @@ -30,5 +30,10 @@ $(PROG): $(OBJ) $(OBJ): $(INC) +aoview_main.o: aoview_glade.h + clean: rm -f $(OBJ) $(PROG) + +aoview_glade.h: aoview.glade + sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@ -- cgit v1.2.3