17 lines
176 B
Makefile
17 lines
176 B
Makefile
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
|