scc

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

amd64.mk (284B)


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