make/tests/make-3-79-has-a-parsing-bug/test.mk
Petr Šabata 155b953028 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/make#c55f31d05dc5eaf4461e5c53d43872e706f20e0d
2020-10-15 18:54:53 +02:00

14 lines
219 B
Makefile

# Author: Petr Muller <pmuller@redhat.com>
default: out/file.o
%/.exists:
-mkdir $(@D)
touch $@
src/file.c: file.l src/.exists
@echo file.l to $@
touch $@
out/%.o: src/%.c out/.exists
@echo -c $< -o $@
touch $@