From aa139a7d2b3f26af7590edbf413df67195c5d900 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 27 Apr 2009 00:25:16 +0200 Subject: Adding ue2 --- ue2/imgsynth2/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ue2/imgsynth2/Makefile (limited to 'ue2/imgsynth2/Makefile') 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 @@ +# Makefile for imgsynth2 +# Author: Guenther Neuwirth (0626638), Manuel Mausz (0728348) +# Created: 26.04.2009 + +CC= g++ +LD= $(CC) +DEBUGFLAGS= -DNDEBUG +CFLAGS= -O -ansi -pedantic-errors -Wall $(DEBUGFLAGS) +LDFLAGS= +LIBS= -lboost_program_options + +BIN= imgsynth2 +OBJS= cpixelformat_bgr24.o cpixelformat_bgr555.o \ + cbitmap.o cscriptparser.o imgsynth2.o +HEADERS= cpixelformat.h cpixelformat_bgr24.h cpixelformat_bgr555.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