summaryrefslogtreecommitdiffstats
path: root/ue5/Makefile
blob: 53fd8f5b202047214e09d51d2e3254709910f3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Makefile for ue5
# Author:	Guenther Neuwirth (0626638), Manuel Mausz (0728348)
# Created:	03.06.2009

CXX=		g++43
LD=		$(CXX)
DEBUGFLAGS=	-DNDEBUG
CXXFLAGS=	-O -std=c++0x -pedantic -Wall $(DEBUGFLAGS)
LDFLAGS=

BIN=		c++0x
OBJS=		verwendung.o
HEADERS=	array.hpp mean_mark.hpp shared_ptr.hpp

.SUFFIXES: .cpp .o

all: $(BIN)

.cpp.o:
	$(CXX) $(CXXFLAGS) -c $< -o $@

$(OBJS): $(HEADERS)

$(BIN): $(OBJS)
	$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

debug:
	@$(MAKE) all "DEBUGFLAGS=-DDEBUG -g"

clean:
	rm -f $(OBJS) $(BIN)

run test: all
	@./test/test.sh

.PHONY: clean

# vim600: noet sw=8 ts=8