8ec80d78f5
BREAKING: require neovim v0.5+ to work!!! migrate neovim configuration to lua
29 lines
525 B
Plaintext
29 lines
525 B
Plaintext
######################################################################
|
|
# @author : {{NAME}} ({{EMAIL}})
|
|
# @file : {{FILE}}
|
|
# @license : {{LICENSE}}
|
|
# @created : {{TIMESTAMP}}
|
|
######################################################################
|
|
|
|
IDIR =./include
|
|
CC=gcc
|
|
CFLAGS=-I$(IDIR)
|
|
|
|
ODIR=obj
|
|
|
|
LIBS=
|
|
|
|
_OBJ = main.o {{CURSOR}}
|
|
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
|
|
|
$(ODIR)/%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
main: $(OBJ)
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -f $(ODIR)/*.o
|