~ubuntu-branches/ubuntu/natty/glbsp/natty

« back to all changes in this revision

Viewing changes to Makefile.dj

  • Committer: Bazaar Package Importer
  • Author(s): Darren Salt
  • Date: 2008-01-30 13:33:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130133349-kgojg33vyiu8xbvp
Tags: 2.24-1
* New upstream release.
* Bumped the lib soname and the library package name due to one silly
  little binary incompatibility caused by changes in an exported struct.
  (Safe; nothing else currently in the archive has ever used libglbsp2.)
* Removed my patches since they're all applied upstream.
* Updated the list of documentation files.
* Build-time changes:
  - Switched from dh_movefiles to dh_install.
  - Updated my makefile to cope with upstream changes.
  - Corrected for debian-rules-ignores-make-clean-error.
  - Corrected for substvar-source-version-is-deprecated.
  - Link libglbsp, rather than glbsp, with libm and libz.
* Fixed shlibdeps. (Closes: #460387)
* Bumped standards version to 3.7.3 (no other changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# glBSP Makefile for DJGPP
3
 
# (Note: hasn't been tested for a long time)
4
 
#
5
 
 
6
 
MAIN=.
7
 
SYSDIR=cmdline
8
 
 
9
 
PROGNAME=glbsp.exe
10
 
 
11
 
CC=gcc
12
 
CFLAGS=-O2 -Wall -DGLBSP_TEXT -DINLINE_G=inline
13
 
LIBS=-lm -lz
14
 
 
15
 
OBJS=$(SYSDIR)/main.o     \
16
 
     $(SYSDIR)/display.o  \
17
 
     $(MAIN)/analyze.o    \
18
 
     $(MAIN)/blockmap.o   \
19
 
     $(MAIN)/glbsp.o      \
20
 
     $(MAIN)/level.o      \
21
 
     $(MAIN)/node.o       \
22
 
     $(MAIN)/reject.o     \
23
 
     $(MAIN)/seg.o        \
24
 
     $(MAIN)/system.o     \
25
 
     $(MAIN)/util.o       \
26
 
     $(MAIN)/wad.o
27
 
 
28
 
 
29
 
# ----- TARGETS ------------------------------------------------------
30
 
 
31
 
all:    $(PROGNAME)
32
 
 
33
 
clean:
34
 
        rm -f $(PROGNAME) $(MAIN)/*.o $(SYSDIR)/*.o core gb_debug.txt
35
 
 
36
 
$(PROGNAME): $(OBJS)
37
 
        $(CC) $(CFLAGS) $(OBJS) -o $(PROGNAME) $(LIBS)
38
 
 
39
 
.PHONY: all clean
40