~ubuntu-branches/ubuntu/natty/pd-zexy/natty

« back to all changes in this revision

Viewing changes to src/Makefile.nt

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, IOhannes m zmölnig, Jonas Smedegaard
  • Date: 2010-08-20 12:17:41 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100820121741-4kxozn8b9rhee9fr
Tags: 2.2.3-1
* New upstream version

[ IOhannes m zmölnig ]
* Adopt package, on behalf of Multimedia Team.
  Closes: #546964
* Simply debian/rules with CDBS, and don't unconditionally strip
  binaries.
  Closes: #437763
* Install into /usr/lib/pd/extra/zexy/. Document usage in REAME.Debian
  and warn about change in NEWS.
* git'ify package. Add Vcs-* stanzas to control file.
* Use dpkg source format 3.0 (quilt). Drop build-dependency on quilt.

[ Jonas Smedegaard ]
* Enable CDBS copyright-check routine.
* Add copyright and licensing header to debian/rules.
* Add myself as uploader.
* Rewrite debian/copyright using rev. 135 of draft DEP5 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ----------------------- NT -----------------------
 
2
 
 
3
.PHONY: clean cleaner all zexy
 
4
 
 
5
LIBNAME=zexy
 
6
 
 
7
current: $(LIBNAME)
 
8
 
 
9
PREFIX=C:\Programme\pd
 
10
 
 
11
EXT=dll
 
12
CC=cl
 
13
LD=link
 
14
 
 
15
DEFS=/D__WIN32__ /DPD /DZEXY_LIBRARY
 
16
IFLAGS=/I. /I$(PREFIX)\src
 
17
WFLAGS=/W3 /WX /nologo
 
18
 
 
19
## for LinePrinter-support: (if you don't want it, comment it out)
 
20
DEFS += /DZ_WANT_LPT
 
21
 
 
22
.SUFFIXES: .$(EXT)
 
23
 
 
24
SOURCES=$(sort $(filter %.c, $(wildcard *.c)))
 
25
 
 
26
CFLAGS = /O2 $(DEFS) $(IFLAGS) $(WFLAGS)
 
27
LIBS = libc.lib oldnames.lib kernel32.lib pd.lib
 
28
LFLAGS = /dll /export:$(LIBNAME)_setup /LIBPATH:"$(PREFIX)\bin"
 
29
 
 
30
 
 
31
TARGETS = $(SOURCES:.c=.obj)
 
32
 
 
33
 
 
34
$(TARGETS): %.obj : %.c
 
35
        $(CC) $(CFLAGS) /c $*.c
 
36
 
 
37
 
 
38
$(LIBNAME): $(TARGETS)
 
39
        $(LD) $(LFLAGS) /out:$(LIBNAME).$(EXT) *.obj $(LIBS)
 
40
 
 
41
clean:
 
42
        del /f *.obj $(LIBNAME).$(EXT)
 
43
 
 
44
cleaner: clean
 
45
        del /f *~ _* config.* $(LIBNAME).$(EXT)
 
46