mirror of
https://github.com/krislamo/knrc.git
synced 2024-11-10 00:30:35 +00:00
11 lines
143 B
Makefile
11 lines
143 B
Makefile
CC = gcc
|
|
OBJS = $(patsubst %.c,bin/%,$(wildcard *.c))
|
|
|
|
all: $(OBJS)
|
|
|
|
$(OBJS):
|
|
$(CC) -o ./$@ $(patsubst bin/%,%.c,$@)
|
|
|
|
clean:
|
|
$(RM) ./bin/*
|