shithub: scc

ref: ad3e847a2aeabde0871b6da021276ae903c1faeb
dir: /lib/Makefile/

View raw version
# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk

OBJS = die.o xcalloc.o xmalloc.o xrealloc.o xstrdup.o debug.o

all: libcc.a


libcc.a: $(OBJS)
	ar $(ARFLAGS) $@ $?
	ranlib $@

clean:
	rm -f *.o *.a