diff options
Diffstat (limited to 'ue1/imgsynth/Makefile')
| -rw-r--r-- | ue1/imgsynth/Makefile | 39 |
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 | |||
| 5 | CC= g++ | ||
| 6 | LD= $(CC) | ||
| 7 | DEBUGFLAGS= | ||
| 8 | CFLAGS= -O -ansi -pedantic-errors -Wall $(DEBUGFLAGS) | ||
| 9 | LDFLAGS= | ||
| 10 | LIBS= -lboost_program_options | ||
| 11 | |||
| 12 | BIN= imgsynth | ||
| 13 | OBJS= cpixelformat_24.o cbitmap.o cscriptparser.o imgsynth.o | ||
| 14 | HEADERS= cpixelformat.h cpixelformat_24.h cfile.h cbitmap.h cscriptparser.h | ||
| 15 | |||
| 16 | .SUFFIXES: .cpp .o | ||
| 17 | |||
| 18 | all: $(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 | |||
| 28 | debug: | ||
| 29 | @$(MAKE) all "DEBUGFLAGS=-DDEBUG -g" | ||
| 30 | |||
| 31 | clean: | ||
| 32 | rm -f $(OBJS) $(BIN) | ||
| 33 | |||
| 34 | run test: all | ||
| 35 | @./test/test.sh | ||
| 36 | |||
| 37 | .PHONY: clean | ||
| 38 | |||
| 39 | # vim600: noet sw=8 ts=8 | ||
