shithub: scc

ref: c809e59d972aead305d59b23e4d1d156c1ebd2a6
dir: /src/libscc/Makefile/

View raw version
.POSIX:

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 \

TARGET = $(LIBDIR)/libscc.a

all: $(TARGET)

$(TARGET): $(OBJS)
	mklib -o $@ $(OBJS)

dep: inc-dep

include deps.mk