shithub: scc

ref: 60f81e0f0e9e2d5e1ef3a7c2bbfbe6f288f989f6
dir: /driver/posix/Makefile/

View raw version
# See LICENSE file for copyright and license details.
.POSIX:

include ../../config.mk

OBJS = scc.o

all: scc

$(OBJS): ../../inc/cc.h ../../inc/arg.h

../../lib/libcc.a:
	cd ../../lib && $(MAKE) -e

scc: $(OBJS) ../../lib/libcc.a
	$(CC) $(SCC_LDFLAGS) $(OBJS) ../../lib/libcc.a -o $@

clean:
	rm -f $(OBJS)
	rm -f scc