blob: 481230c8158941e34be7fee551968801caa181cb (
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
39
40
41
42
43
44
|
# Makefile for imgsynth2
# Author: Guenther Neuwirth (0626638), Manuel Mausz (0728348)
# Created: 26.04.2009
CXX= g++
LD= $(CXX)
DEBUGFLAGS= -DNDEBUG
INCLUDE_PATH= -I/usr/local/include
CXXFLAGS= -O -ansi -pedantic-errors -Wall $(INCLUDE_PATH) $(DEBUGFLAGS)
LDFLAGS=
LIBS= -L/usr/local/lib -lboost_program_options
BIN= imgsynth2
OBJS= cpixelformat_bgr24.o cpixelformat_bgr555.o \
cpixelformat_indexed8.o cpixmap.o cwindowsbitmap.o \
cbitmap.o cscriptparser.o imgsynth2.o
HEADERS= cpixelformat.h cpixelformat_bgr24.h cpixelformat_bgr555.h \
cpixelformat_indexed8.h cpixmap.h cfile.h cbitmap.h \
cwindowsbitmap.h cscriptparser.h
.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
|