summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ue2/imgsynth2/Makefile')
-rw-r--r--ue2/imgsynth2/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/ue2/imgsynth2/Makefile b/ue2/imgsynth2/Makefile
new file mode 100644
index 0000000..cbf3d33
--- /dev/null
+++ b/ue2/imgsynth2/Makefile
@@ -0,0 +1,41 @@
1# Makefile for imgsynth2
2# Author: Guenther Neuwirth (0626638), Manuel Mausz (0728348)
3# Created: 26.04.2009
4
5CC= g++
6LD= $(CC)
7DEBUGFLAGS= -DNDEBUG
8CFLAGS= -O -ansi -pedantic-errors -Wall $(DEBUGFLAGS)
9LDFLAGS=
10LIBS= -lboost_program_options
11
12BIN= imgsynth2
13OBJS= cpixelformat_bgr24.o cpixelformat_bgr555.o \
14 cbitmap.o cscriptparser.o imgsynth2.o
15HEADERS= cpixelformat.h cpixelformat_bgr24.h cpixelformat_bgr555.h \
16 cfile.h cbitmap.h cscriptparser.h
17
18.SUFFIXES: .cpp .o
19
20all: $(BIN)
21
22.cpp.o:
23 $(CC) $(CFLAGS) -c $< -o $@
24
25$(OBJS): $(HEADERS)
26
27$(BIN): $(OBJS)
28 $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
29
30debug:
31 @$(MAKE) all "DEBUGFLAGS=-DDEBUG -g"
32
33clean:
34 rm -f $(OBJS) $(BIN)
35
36run test: all
37 @./test/test.sh
38
39.PHONY: clean
40
41# vim600: noet sw=8 ts=8