-parser/%.h parser/%.c parser/U_%.hs : parser/%.ugn
- @$(RM) $@ parser/$*.hs parser/U_$*.hs parser/$*.h
- $(UGEN) $< || $(RM) parser/$*.h parser/$*.hs
+parser/U_%.hs : parser/%.c
+ @:
+
+parser/%.h parser/%.c : parser/%.ugn
+ @$(RM) $@ parser/$*.c parser/$*.hs parser/U_$*.hs parser/$*.h
+ $(UGEN) $< || $(RM) parser/$*.h parser/$*.c parser/$*.hs