1
0

make echo makefile nicer

This commit is contained in:
dtb 2023-12-15 21:26:30 -07:00
parent 7d08978808
commit 18e795f5cc

View File

@ -1,11 +1,5 @@
TARGETS = echo prompt
all: echo prompt
all: $(TARGETS)
echo: echo.c
%: %.c
$(CC) -o $@ $@.c
clean:
rm -f $(TARGETS)
.PHONY: all clean
prompt: prompt.c