shithub: scc

ref: 2974c0654f4634a58fb6d6d588dd4eebd143a383
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 \
       genhash.o

TARGET = $(LIBDIR)/libscc.a

all: $(TARGET)

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

dep: inc-dep

include deps.mk