You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
937 B
30 lines
937 B
CC = g++
|
|
CFLAGS = -g -Wall -std=c++17
|
|
GCFLAGS = `pkg-config --cflags --libs gtkmm-3.0` -lobs -lv4l2 -lglut -lGL -lasound -lpulse
|
|
OBJFILES = main.o main-window.o obs-manager.o preview-window.o settings-manager.o settings-window.o
|
|
|
|
TARGET = screenrecorder
|
|
|
|
$(TARGET): $(OBJFILES)
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(OBJFILES) $(GCFLAGS)
|
|
|
|
main.o:
|
|
$(CC) $(CFLAGS) -c main.cpp $(GCFLAGS)
|
|
|
|
main-window.o: main-window.cpp main-window.hpp
|
|
$(CC) $(CFLAGS) -c main-window.cpp $(GCFLAGS)
|
|
|
|
obs-manager.o: obs-manager.cpp obs-manager.hpp
|
|
$(CC) $(CFLAGS) -c obs-manager.cpp $(GCFLAGS)
|
|
|
|
preview-window.o: preview-window.cpp preview-window.hpp
|
|
$(CC) $(CFLAGS) -c preview-window.cpp $(GCFLAGS)
|
|
|
|
settings-manager.o: settings-manager.cpp settings-manager.hpp
|
|
$(CC) $(CFLAGS) -c settings-manager.cpp $(GCFLAGS)
|
|
|
|
settings-window.o: settings-window.cpp settings-window.hpp
|
|
$(CC) $(CFLAGS) -c settings-window.cpp $(GCFLAGS)
|
|
|
|
clean:
|
|
rm $(TARGET) $(OBJFILES)
|