scc

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

Makefile (386B)


      1 .POSIX:
      2 
      3 PROJECTDIR =../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 include ../rules.mk
      6 
      7 OBJS = \
      8 	strcat.$O\
      9 	strchr.$O\
     10 	strcmp.$O\
     11 	strcoll.$O\
     12 	strcpy.$O\
     13 	strcspn.$O\
     14 	strerror.$O\
     15 	strlen.$O\
     16 	strncat.$O\
     17 	strncmp.$O\
     18 	strncpy.$O\
     19 	strpbrk.$O\
     20 	strrchr.$O\
     21 	strspn.$O\
     22 	strstr.$O\
     23 	strtok.$O\
     24 	strxfrm.$O\
     25 
     26 all: $(LIBC)
     27 
     28 $(LIBC): $(OBJS)
     29 	$(MKLST)
     30 
     31 dep: inc-dep
     32 
     33 include deps.mk