shithub: fc

ref: b9ac29a8e5985f63ec1f20e1fe2b3bc027c02fb9
dir: /mkfile/

View raw version

</$objtype/mkfile

# Compiler flags
CFLAGS=-FVTw

# Targets
BIN=$home/bin/amd64
TARG=fc

# Source files
APP=fc.6

# Build rules
all:V: $BIN/$TARG

$APP: $TARG.c
	6c $CFLAGS $TARG.c

$BIN/$TARG: $APP
	6l -o $target $APP

nuke:
	rm -f *.6 $BIN/$TARG
clean:
	rm -f *.6