~ubuntu-branches/ubuntu/trusty/glbsp/trusty

« back to all changes in this revision

Viewing changes to Plugin_osx.mak

  • Committer: Bazaar Package Importer
  • Author(s): Darren Salt
  • Date: 2006-08-13 12:38:26 UTC
  • Revision ID: james.westby@ubuntu.com-20060813123826-3btvz77q5fu3fg6n
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# glBSP Plugin Makefile for MacOSX
 
3
#
 
4
 
 
5
BIN=libglbsp.a
 
6
 
 
7
CC=gcc
 
8
CFLAGS=-O2 -Wall -DGLBSP_PLUGIN -DMACOSX -DINLINE_G=inline
 
9
 
 
10
# ----- OBJECTS ------------------------------------------------------
 
11
 
 
12
OBJS=analyze.o  \
 
13
     blockmap.o \
 
14
     glbsp.o    \
 
15
     level.o    \
 
16
     node.o     \
 
17
     reject.o   \
 
18
     seg.o      \
 
19
     system.o   \
 
20
     util.o     \
 
21
     wad.o
 
22
 
 
23
# ----- TARGETS ------------------------------------------------------
 
24
 
 
25
all:    $(BIN)
 
26
 
 
27
clean:
 
28
        rm -f $(BIN) *.o
 
29
 
 
30
$(BIN): $(OBJS)
 
31
        libtool -static -o $(BIN) - $(OBJS)
 
32
        ranlib $(BIN)
 
33
 
 
34
.PHONY: all clean
 
35