shithub: scc

ref: 3ba625a83430f2616905108eaa93ac8c9009d45a
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