scc

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

powerpc.mk (329B)


      1 POWERPC = target/powerpc
      2 POWERPC_OBJ =\
      3 	$(OBJS)\
      4 	$(POWERPC)/powerpctbl.o\
      5 	$(POWERPC)/powerpc.o\
      6 	$(POWERPC)/ins.o\
      7 
      8 $(POWERPC)/powerpctbl.c: $(POWERPC)/ops.dat $(POWERPC)/opers.dat lexh
      9 	./mktbl -f powerpc -c powerpc
     10 
     11 as-powerpc: $(POWERPC_OBJ)
     12 	$(CC) $(PROJ_LDFLAGS) $(POWERPC_OBJ) $(PROJ_LDLIBS) -o $@
     13 	cp $@ $(LIBEXEC)/scc