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.

17 lines
436 B

3 years ago
  1. CC = g++
  2. CFLAGS = -g -Wall --std=c++17
  3. GCFLAGS = `pkg-config --cflags --libs gtkmm-3.0` -lobs
  4. TARGET = screenrecorder
  5. $(TARGET): main.o recording-window.o
  6. $(CC) $(CFLAGS) -o $(TARGET) main.o recording-window.o $(GCFLAGS)
  7. main.o:
  8. $(CC) $(CFLAGS) -c main.cpp $(GCFLAGS)
  9. recording-window.o: recording-window.cpp recording-window.hpp
  10. $(CC) $(CFLAGS) -c recording-window.cpp $(GCFLAGS)
  11. clean:
  12. rm $(TARGET) main.o recording-window.o