Edit

kc3-lang/automake/compile-kr.am

Branch :

  • Show log

    Commit

  • Author : David J. MacKenzie
    Date : 1994-09-20 21:24:38
    Hash : 802d7d83
    Message : Initial revision

  • compile-kr.am
  • .SUFFIXES: .krc .krh .kro
    
    .c.krc:
    	$(ANSI2KNR) $< > $@
    
    .h.krh:
    	$(ANSI2KNR) $< > $@
    
    .krc.kro:
    	cp $< krtmp$$.c && \
    	$(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) krtmp$$.c && \
    	mv krtmp$$.o $@
    
    .c.kro:
    	$(ANSI2KNR) $< > $*.krc
    	cp $*.krc krtmp$$.c && \
    	$(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) krtmp$$.c && \
    	mv krtmp$$.o $@