30 lines
687 B
Makefile
30 lines
687 B
Makefile
all:
|
|
@export ARCH
|
|
$(MAKE) -C src
|
|
$(MAKE) -C runtime/tests
|
|
|
|
clean:
|
|
$(MAKE) clean -C src
|
|
$(MAKE) clean -C runtime/tests
|
|
|
|
test:
|
|
cd runtime && \
|
|
gnome-terminal -e "./cgl-render left" && \
|
|
gnome-terminal -e "./cgl-render center" && \
|
|
gnome-terminal -e "./cgl-render right" && \
|
|
sleep 1 && \
|
|
gnome-terminal -e "./cgl-capture tests/row/row"
|
|
|
|
debugrender:
|
|
cd runtime && \
|
|
gdb -ex run -quiet --args ./cgl-render left
|
|
|
|
|
|
install:
|
|
@cp runtime/cgl-render /usr/bin/ -v
|
|
@cp runtime/cgl-capture /usr/bin/ -v
|
|
@cp runtime/libcgl-capture.so /usr/lib -v
|
|
@cp runtime/cgl.conf /etc/ -v
|
|
|
|
uninstall:
|
|
@rm -fv /usr/bin/cgl-render /usr/bin/cgl-capture /usr/lib/libcgl-capture.so /etc/cgl.conf
|