Fixed ui.h shenanigans in the makefile.

This commit is contained in:
Pietro Gagliardi 2015-05-16 11:39:18 -04:00
parent cf31df5c2b
commit 68586e1eaf
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,4 @@
# 22 april 2015
# TODO figure out why ui.h is being regenerated always? and it seems despite that it doesn't affect existing dependencies?
OUTBASE = new
OUTDIR = out
@ -58,6 +57,7 @@ $(OBJDIR)/%.o: %.m $(xHFILES) | $$(dir $$@).phony
$(OUTDIR)/%.h: %.idl tools/idl2h.go | $(OUTDIR)/.phony
@go run tools/idl2h.go -extern _UI_EXTERN -guard __UI_UI_H__ < $< > $@
@echo ====== Generated `basename $@`
.PRECIOUS: $(OUTDIR)/%.h
clean:
rm -rf $(OUTDIR) $(OBJDIR) ui.h