Make Makefile
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
CC=clang
|
||||
CFLAGS=`pkg-config --cflags gtk4`
|
||||
CLIBS=`pkg-config --libs gtk4`
|
||||
SOURCES= main.c
|
||||
EXECUTABLE=filemanager.out
|
||||
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE):
|
||||
$(CC) $(CFLAGS) $(SOURCES) -o $(EXECUTABLE) $(CLIBS)
|
||||
|
||||
clean:
|
||||
rm *.out
|
||||
Reference in New Issue
Block a user