blang/Makefile

17 lines
176 B
Makefile
Raw Normal View History

2022-12-08 21:51:40 -07:00
CC = cc
RM = rm -f
TARGETS = bin/blang
all: $(TARGETS)
clean:
$(RM) $(TARGETS)
bin:
mkdir -p bin
bin/blang: bin src/*.c
$(CC) $(CFLAGS) -o $@ src/*.c
.PHONY: all clean