<root> / src / Makefile (7f5a6c943db28874d93d7f0b5f83a13db335968d) (507B) (mode 100644) [raw]

CC=gcc

CFLAGS=-c -Wall 

LDFLAGS= -all-static

LIBS=-lpdcurses -lregex
#c:/MinGW/lib/libgnurx.dll.a

SOURCES=background.c bookmarks.c color_scheme.c commands.c config.c\
 file_info.c filelist.c fileops.c filetype.c keys.c menus.c registers.c\
 rline.c search.c signals.c sort.c  ui.c utils.c vifm.c visual.c

OBJECTS=$(SOURCES:.c=.o)

EXECUTABLE=vifm.exe

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(CC) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS) 
.c.o:
	$(CC) $(CFLAGS) $< -o $@

clean:
	rm *.o
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm-w32

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm-w32

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master