scc

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

Makefile (232B)


      1 .POSIX:
      2 
      3 PROJECTDIR=../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 OBJS =\
      7 	dummy.o\
      8 	umoddi3.o\
      9 	udivdi3.o\
     10 
     11 TARGET = $(LIBCDIR)/libcrt.a
     12 
     13 all: $(TARGET)
     14 
     15 $(TARGET): $(OBJS)
     16 	$(AR) $(PROJ_ARFLAGS) $@ $?
     17 	$(RL) $(PROJ_RLFLAGS) $@