Add Makefile

This commit is contained in:
Nicole Faerber 2021-01-15 19:49:04 +01:00
parent 1d526a75c2
commit 529e8b64da

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
CC=gcc
CFLAGS=-O2 -Wall `pkg-config --cflags gtk+-3.0`
LIBS=`pkg-config --libs gtk+-3.0`
OBJ=flirgtk.o
PRG=flirgtk
all: $(PRG)
$(PRG): $(OBJ)
$(CC) $(OBJ) -o $(PRG) $(LIBS)
clean:
rm $(OBJ)