makefile 427 Bytes
Newer Older
1
2
3
NAME=pd~
CSYM=pd_tilde

4
include ../makefile.subdir
5
6

pd_linux: pdsched.pd_linux
7
pd_nt: pdsched.dll
8
9
10
11
12
13
14
15

d_fat: pdsched.d_fat
d_ppc: pdsched.d_ppc

pdsched.pd_linux: pdsched.c
	$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
	$(CC) -shared -o $*.pd_linux $*.o -lc -lm
	rm -f $*.o
16
17
18
19
20

pdsched.dll: pdsched.c
	$(MSCC) $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
	$(MSLN) /nologo /dll /export:pd_extern_sched $*.obj $(PDNTLIB)
	rm -f $*.obj