shithub: scc

ref: f9a9c99baffaf19ec52260e79eaf1b0cd76940c4
dir: /Makefile/

View raw version
# scc - Suckless C Compiler
.POSIX:

include config.mk

SUBDIRS  = \
	lib \
	cc1

all clean:
	@echo scc build options:
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"
	@for i in ${SUBDIRS};\
	do \
		(cd $$i; ${MAKE} $(MAKEFLAGS) $@ || exit); \
	done;