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

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. CC = g++
  2. CFLAGS = -g -Wall -std=c++17
  3. GCFLAGS = `pkg-config --cflags --libs gtkmm-3.0` -lobs -lv4l2 -lglut -lGL -lasound -lpulse
  4. OBJFILES = main.o main-window.o obs-manager.o preview-window.o settings-manager.o settings-window.o
  5. TARGET = screenrecorder
  6. $(TARGET): $(OBJFILES)
  7. $(CC) $(CFLAGS) -o $(TARGET) $(OBJFILES) $(GCFLAGS)
  8. main.o:
  9. $(CC) $(CFLAGS) -c main.cpp $(GCFLAGS)
  10. main-window.o: main-window.cpp main-window.hpp
  11. $(CC) $(CFLAGS) -c main-window.cpp $(GCFLAGS)
  12. obs-manager.o: obs-manager.cpp obs-manager.hpp
  13. $(CC) $(CFLAGS) -c obs-manager.cpp $(GCFLAGS)
  14. preview-window.o: preview-window.cpp preview-window.hpp
  15. $(CC) $(CFLAGS) -c preview-window.cpp $(GCFLAGS)
  16. settings-manager.o: settings-manager.cpp settings-manager.hpp
  17. $(CC) $(CFLAGS) -c settings-manager.cpp $(GCFLAGS)
  18. settings-window.o: settings-window.cpp settings-window.hpp
  19. $(CC) $(CFLAGS) -c settings-window.cpp $(GCFLAGS)
  20. clean:
  21. rm $(TARGET) $(OBJFILES)