Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit 927ede1444024a4f4b6fa897ba8af43f0e721a33 Author: Raniconduh <clagv.randomgames@gmail.com> Date: Thu Sep 30 21:55:35 2021 +0000 Added support for new structure diff --git a/Makefile b/Makefile index 5d063ce..3c4c782 100644 --- a/Makefile +++ b/Makefile @@ -14 +15 @@ -SOURCES ?= scroll.c +SOURCES ?= src/*.c +INCLUDEDIR ?= include  DEST ?= cscroll    CFLAGS = -Wall -Wextra @@ -77 +87 @@ LIBS = -lncurses  all: cscroll    cscroll: $(SOURCES) - cc -o $(DEST) $(SOURCES) $(CFLAGS) $(LIBS) + cc -I$(INCLUDEDIR) -o $(DEST) $(SOURCES) $(CFLAGS) $(LIBS)    debug: $(SOURCES)   cc -DDEBUG -o $(DEST) $(SOURCES) $(CFLAGS) $(LIBS) -g