scc

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

Makefile (709B)


      1 .POSIX:
      2 
      3 PROJECTDIR =../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 OBJS =\
      7 	coff32.o\
      8 	coff32archs.o\
      9 	coff32del.o\
     10 	coff32getidx.o\
     11 	coff32getsec.o\
     12 	coff32getsym.o\
     13 	coff32loadmap.o\
     14 	coff32new.o\
     15 	coff32pc2line.o\
     16 	coff32probe.o\
     17 	coff32read.o\
     18 	coff32setidx.o\
     19 	coff32setsec.o\
     20 	coff32setsym.o\
     21 	coff32str.o\
     22 	coff32strip.o\
     23 	coff32type.o\
     24 	coff32write.o\
     25 	coff32xgetidx.o\
     26 	coff32xsetidx.o\
     27 
     28 COFFHDRS =\
     29 	$(INCDIR)/bits/scc/coff32/aouthdr.h\
     30 	$(INCDIR)/bits/scc/coff32/filehdr.h\
     31 	$(INCDIR)/bits/scc/coff32/linenum.h\
     32 	$(INCDIR)/bits/scc/coff32/reloc.h\
     33 	$(INCDIR)/bits/scc/coff32/scnhdr.h\
     34 	$(INCDIR)/bits/scc/coff32/storclass.h\
     35 	$(INCDIR)/bits/scc/coff32/syms.h
     36 
     37 all: $(OBJS)
     38 
     39 $(OBJS): $(COFFHDRS)