scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

test.mk (519B)


      1 
      2 .IGNORE: ignored-error
      3 .SILENT: silent-echo-hello
      4 
      5 follow: error hello
      6 
      7 hello:
      8 	@echo Hello World!
      9 
     10 silent-echo-hello:
     11 	echo Hello World!
     12 
     13 echo-hello:
     14 	echo Hello World!
     15 
     16 error:
     17 	no-valid-program
     18 
     19 ignored-error:
     20 	no-valid-program
     21 
     22 print-make:
     23 	@echo $(MAKE)
     24 
     25 print-cc:
     26 	@echo $(CC)
     27 
     28 print-env-cc:
     29 	@echo $$CC
     30 
     31 print-makeflags:
     32 	@echo $(MAKEFLAGS)
     33 
     34 print-makeflags-always:
     35 	+@echo $(MAKEFLAGS)
     36 
     37 print-hidden-hello:
     38 	+@echo Hello World!
     39 
     40 file1:
     41 	echo > file1
     42 
     43 file2:
     44 
     45 file3: file2
     46 	touch $@
     47 
     48 file.o:
     49 
     50 test.mk:
     51 	touch $@