Files
toyforth/Makefile
2025-11-19 18:41:02 +01:00

24 lines
218 B
Makefile

##
# Toy Forth
#
# @file
# @version 0.1
CC=gcc
CFLAGS=-W -Wall -O2
SRC=toyforth.c
OUT=toyforth
all: $(OUT)
$(OUT): $(SRC)
$(CC) $(CFLAGS) $(SRC) -o $@
run: $(OUT)
./$(OUT) program.tf
clean:
rm -f $(OUT)
# end