shithub: fc

ref: ef1c78b3ad619f48c4835f1684cf23393d704b3b
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