shithub: scc

ref: 52549a2648ebf58b4d31fae7290ad5651638046c
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)/scc/libscc.a

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) $(PROJ_ARFLAGS) $@ $?
	$(RL) $(PROJ_RLFLAGS) $@

include deps.mk