blob: 1bf18aaa23e08ef3fcf63cb93b9e11af0eaf6a62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PD-PATH=/usr/lib/pd
PD-SCR=/usr/include
INCLUDE=-I$(PD-SCR) -I.
LIB=-lc -lm
CC_FLAGS = -DPD -c -Wall
LD_FLAGS = --export-dynamic -shared -o
TARGET=notemono.pd_linux
OBJ=notemono.o
#--------------------------------------------------------
all: pd_linux
pd_linux: $(TARGET)
$(TARGET): $(OBJ)
$(LD) $(LD_FLAGS) $(TARGET) $(OBJ) $(LIB)
strip --strip-unneeded $(TARGET)
chmod 755 $(TARGET)
.c.o:
$(CC) $(CC_FLAGS) $(INCLUDE) $<
clean:
rm -f $(OBJ) $(TARGET)
|