stage4/generate_cc/Makefile
changeset 36 4d7fd441fbc3
parent 0 fb772792efd1
child 40 873a5b60a7ea
equal deleted inserted replaced
35:9f3d6c089533 36:4d7fd441fbc3
    25 
    25 
    26 #how to make things from other directories if they are missing
    26 #how to make things from other directories if they are missing
    27 ../% /%:
    27 ../% /%:
    28 	$(MAKE) -C $(@D) $(@F)
    28 	$(MAKE) -C $(@D) $(@F)
    29 
    29 
       
    30 test_iec_std_lib: test_iec_std_lib.c iec_std_lib.h
       
    31 	gcc -o test_iec_std_lib test_iec_std_lib.c
       
    32 	
       
    33 test: test_iec_std_lib
    30 
    34 
    31 Makefile.depend depend:
    35 Makefile.depend depend:
    32 	$(CXX) -MM -MG -I. *.cc \
    36 	$(CXX) -MM -MG -I. *.cc \
    33 	  | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
    37 	  | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
    34 
    38