shithub: scc

ref: 6670eaca4364ece9ef383c356bb098a2e0f58cbf
dir: /src/libscc/Makefile/

View raw version

PROJECTDIR = ../..
include $(PROJECTDIR)/scripts/rules.mk

OBJS = debug.o \
       die.o \
       newitem.o \
       xcalloc.o \
       xmalloc.o \
       xrealloc.o \
       xstrdup.o \
       alloc.o \
       casecmp.o \
       lunpack.o \
       lpack.o \
       bunpack.o \
       bpack.o \
       wmyro.o \
       rmyro.o \

TARGET = $(LIBDIR)/libscc.a

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) $(ARFLAGS) $@ $?
	ranlib $@

dep: inc-dep

include deps.mk