shithub: scc

ref: b7e9430d7f6df2b479baba4470474d130039e8c6
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