./0040755000175200001450000000000007200360755007526 5ustar holtlnc./Makeppfile0100644000175200001450000000155407200357566011536 0ustar holtlnc# # Test the use of conditionals. # XYZ = abc ifeq($(XYZ),abc) DEF := def endif ifndef XYZ XYZ := Abc endif ifneq "$(DEF)" 'dsdffasd' GHI := ghi else GHI := GHI endif ifdef PDQ JKL := JKL else JKL := jkl endif $(phony all): testfile testfile2 testfile3 phonytarget testfile: ifeq ($(XYZ),abc) echo abc > $@ else echo ABC > $@ endif ifneq $(JKL) 'jkl' echo JKL >> $@ else echo jkl >> $@ endif echo $(DEF) >> $@ echo $(GHI) >> $@ echo $(JKL) >> $@ # # Test some things relating to whitespace and if statements, which are often # indented: # ifeq (,) testfile2: echo $@ > $@ echo "This is another line." >> $@ ifeq(,) testfile3: # Not part of testfile2's action. echo $@ > $@ endif $(phony phonytarget): testfile4 ifeq(,) X=5 # This should not be part of phonytarget's action. endif testfile4: echo $@ $(X) > $@ endif ./answers/0040755000175200001450000000000007200360750011203 5ustar holtlnc./answers/testfile0100644000175200001450000000002407200360706012737 0ustar holtlncabc jkl def ghi jkl ./answers/n_files0100644000175200001450000000000207200374071012533 0ustar holtlnc4 ./answers/testfile20100644000175200001450000000004007200360706013017 0ustar holtlnctestfile2 This is another line. ./answers/testfile30100644000175200001450000000001207200360706013017 0ustar holtlnctestfile3 ./answers/testfile40100644000175200001450000000001407200360706013022 0ustar holtlnctestfile4 5