scc

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

Makefile (425B)


      1 .POSIX:
      2 
      3 PROJECTDIR =../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 OBJS =\
      7 	elf64.o\
      8 	elf64archs.o\
      9 	elf64del.o\
     10 	elf64getsec.o\
     11 	elf64getsym.o\
     12 	elf64new.o\
     13 	elf64probe.o\
     14 	elf64read.o\
     15 	elf64type.o\
     16 
     17 ELFHDRS =\
     18 	$(INCDIR)/bits/scc/elf/elfent.h\
     19 	$(INCDIR)/bits/scc/elf/elfhdr.h\
     20 	$(INCDIR)/bits/scc/elf/elfphdr.h\
     21 	$(INCDIR)/bits/scc/elf/elfshdr.h\
     22 	$(INCDIR)/bits/scc/elf/elftypes.h\
     23 
     24 all: $(OBJS)
     25 
     26 $(OBJS): $(ELFHDRS)