/make/edam-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/edam-mk

« back to all changes in this revision

Viewing changes to edam.mk

  • Committer: edam
  • Date: 2012-01-25 15:03:16 UTC
  • Revision ID: edam@waxworlds.org-20120125150316-282086jbqtujd29o
Tags: 3.5
bump version. no

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
#                       edam's general-purpose makefile
4
4
#_______________________________________________________________________________
5
 
#                                                                    version 3.4
 
5
#                                                                    version 3.5
6
6
#
7
7
# Copyright (c) 2009 Tim Marston <edam@waxworlds.org>.
8
8
#
174
174
LDFLAGS         := $(if $(LINKSTATIC),-static) $(LDFLAGS)
175
175
 
176
176
# add libraries for d
177
 
LIBRARIES       := $(LIBRARIES) $(if $(filter %.d, $(SOURCES)), gphobos2 pthread m)
 
177
LIBRARIES       := $(LIBRARIES) $(if $(filter %.d, $(SOURCES)), gphobos2 rt)
178
178
 
179
179
# build flags for libraries
180
180
LDPOSTFLAGS := $(addprefix -l,$(LIBRARIES)) $(LDPOSTFLAGS)