shithub: fc

ref: 02f0fdccefc6d03202d5c631141b8b0dc951f775
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