This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/.old/nvim_0.4.4/templates/makefile.template
David JULIEN 8ec80d78f5 feat: use HEAD@neovim instead of arch package
BREAKING: require neovim v0.5+ to work!!!

migrate neovim configuration to lua
2021-05-19 11:56:12 +02:00

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