mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 06:10:01 +01:00
36 lines
552 B
Makefile
36 lines
552 B
Makefile
CC = gcc
|
|
LINKER = ld
|
|
CFLAGS = -I. -I../include -I ../ -Wall -g
|
|
all:
|
|
# vevo - veejay video objects
|
|
#
|
|
# plugins :
|
|
# bathroom
|
|
# opacity
|
|
#
|
|
# compile: make plugins
|
|
# run:
|
|
# export LD_LIBRARY_PATH=`pwd`
|
|
# host <plugin.so>
|
|
|
|
plugins: fade_plugin.so example_plugin.so
|
|
|
|
example.so: example_plugin.o
|
|
fade.so: fade_plugin.o
|
|
|
|
clean:
|
|
rm -rf *.o *.so
|
|
|
|
# generic make rules
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $< -ldl
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
%.so: %.o
|
|
$(LINKER) -shared $^ -o $@
|
|
# $(LINKER) -E -z now -shared $^ -o $@
|
|
|
|
|