~ubuntu-branches/ubuntu/oneiric/dds/oneiric

« back to all changes in this revision

Viewing changes to ddd/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2007-06-19 14:05:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070619140501-wus87at9m59vfp2v
Tags: 1.1.5+ddd105-2
* Include patch by upstream that removes debugging code.
* The C compatibility patch went upstream, thanks Bo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
# compiled object files, apart from the directory ../exe for executables.
29
29
 
30
30
CXX=g++
31
 
CXXFLAGS=-g -Wall -I.. -O2
 
31
CXXFLAGS=-g -Wall -O2
32
32
LDFLAGS=-L..
33
33
LIBS=-ldds
34
34
OBJ=ddd.o defs.o timer.o giblib.o rng.o
35
35
PREFIX=/usr/local
36
36
 
37
 
ddd: $(OBJ)
 
37
ddd: dds11x.h $(OBJ)
38
38
        g++ $(LDFLAGS) -o $@ $^ $(LIBS)
39
39
 
 
40
dds11x.h:
 
41
        ln -s ../dll.h $@
 
42
 
40
43
install:
41
44
        install -d $(DESTDIR)$(PREFIX)/games
42
45
        install ddd $(DESTDIR)$(PREFIX)/games/dds
43
46
 
44
47
clean:
45
 
        rm -f $(OBJ) ddd
 
48
        rm -f $(OBJ) ddd dds11x.h