diff options
Diffstat (limited to '.boilerplates/c/makefile')
-rw-r--r-- | .boilerplates/c/makefile | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/.boilerplates/c/makefile b/.boilerplates/c/makefile deleted file mode 100644 index 7f33a3b..0000000 --- a/.boilerplates/c/makefile +++ /dev/null @@ -1,24 +0,0 @@ -TARGET=out/name -CC=gcc -CFLAGS=-Iinc -Wall -Wextra -g - -SRC=$(wildcard src/*.c) -OBJ=$(patsubst src/%.c,out/%.o,$(SRC)) -MAKEFLAGS+=--silent - -all: $(TARGET) - -$(TARGET): $(OBJ) - $(CC) $(CFLAGS) -o $@ $^ - -out/%.o: src/%.c - @mkdir -p "$(@D)" - $(CC) $(CFLAGS) -MD -o $@ -c $< - - -clean: - rm -rf out/ - --include $(OBJECTS:.o=.d) - -.PHONY: all clean run |