1 2 3 4 5 6 7 8 9 10 11 12 13
LEVEL = ../make C_SOURCES := main-copy.c include $(LEVEL)/Makefile.rules # Copy file into the build folder to enable the test to modify it. main-copy.c: main.c cp -f $< $@ clean:: $(RM) main-copy.c