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