aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index df93833..aa71c5c 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,12 @@ DEP := $(OBJ:.o=.d)
all: $(PROG)
$(PROG): $(OBJ)
clean:
- $(RM) $(OBJ) $(DEP) $(PROG)
+ $(RM) $(OBJ) $(DEP) $(PROG) $(CLEAN)
+
+loadgl.o gltest.o: loadgl.h
+loadgl.c loadgl.h: loadgl.%: loadgl.m4 loadgl.%.in
+ m4 $^ >$@
+CLEAN += loadgl.c loadgl.h
include $(EPRINTF_PATH)/module.mk
deplinks: $(EPRINTF_FILES)