diff options
author | carmen rocco <ix9@users.sourceforge.net> | 2004-04-05 12:27:33 +0000 |
---|---|---|
committer | carmen rocco <ix9@users.sourceforge.net> | 2004-04-05 12:27:33 +0000 |
commit | 28720462e38eef5244d0ee4027c250f24a4de7c7 (patch) | |
tree | 5e74a6dc80e9da8cb28b3a85d5ad34d814c0663c /src | |
parent | 838dafd9d7a66eb75e52ba5520591b1315744fa6 (diff) |
where do you want to go today?
svn path=/trunk/externals/zexy/; revision=1553
Diffstat (limited to 'src')
-rwxr-xr-x | src/makefile.win | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/makefile.win b/src/makefile.win new file mode 100755 index 0000000..820c17c --- /dev/null +++ b/src/makefile.win @@ -0,0 +1,58 @@ +current: all +prefix=../../.. + +# the ZEXY-EXTERNAL-makefile +# everything is GnuGPL that should come with the zexy.tgz +# NO WARRANTIES FOR ANYTHING +# et cetera +# 1999:forum::für::umläute:2003 + +TARGETS = zexy \ + z_connective z_pack z_multiplex z_drip \ + z_makesymbol z_strings \ + z_index z_msgfile \ + z_stat z_average z_sort \ + z_tabread4 z_coordinates \ + z_datetime \ + z_matrix \ + z_noise z_testfun \ + z_multiline z_sigmatrix \ + z_nop z_zdelay \ + z_limiter z_quantize z_swap \ + z_sigbin z_sigaverage \ + z_dfreq z_sigzero z_pdf \ + z_sfplay z_sfrecord \ + z_sigpack \ + z_prime z_random z_wrap \ + z_operating_system + +.SUFFIXES: .dll + +OBJECTS = $(TARGETS:%=%.o) + +INCLUDE = -I. -I$(prefix)/src + +$(OBJECTS): *.h + +CFLAGS = -DNT -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch $(INCLUDE) + +everything: clean all install + +clean: + -rm *.dll *.o + +all: $(OBJECTS) + + @echo :: $(OBJECTS) + gcc -shared -o zexy.dll *.o $(prefix)/bin/pd.dll + +.c.pd_linux: + cc $(CFLAGS) -O2 -DPD -fPIC $(INCLUDE) -c -o $*.o $*.c + +install: installdocs + @test -d $(prefix)/extra || mkdir -p $(prefix)/extra + install *.dll $(prefix)/extra + +installdocs: + install -d $(prefix)/doc/5.reference/zexy + install -m644 ../examples/*.pd $(prefix)/doc/5.reference/zexy |