From 384539f7cc9feaa7ef7cee385cce472c6966c843 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 27 Apr 2009 00:24:16 +0200 Subject: Adding ue1 --- ue1/imgsynth/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ue1/imgsynth/Makefile (limited to 'ue1/imgsynth/Makefile') 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 @@ +# Makefile for imgsynth +# Author: Manuel Mausz (0728348) +# Created: 14.04.2009 + +CC= g++ +LD= $(CC) +DEBUGFLAGS= +CFLAGS= -O -ansi -pedantic-errors -Wall $(DEBUGFLAGS) +LDFLAGS= +LIBS= -lboost_program_options + +BIN= imgsynth +OBJS= cpixelformat_24.o cbitmap.o cscriptparser.o imgsynth.o +HEADERS= cpixelformat.h cpixelformat_24.h cfile.h cbitmap.h cscriptparser.h + +.SUFFIXES: .cpp .o + +all: $(BIN) + +.cpp.o: + $(CC) $(CFLAGS) -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 -- cgit v1.2.3