From 5c6c845ce51abe9bd4129fa5eb8cdec26d861556 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 28 Apr 2009 19:44:15 +0200 Subject: nicer Makefile --- ue2/imgsynth2/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ue2/imgsynth2') diff --git a/ue2/imgsynth2/Makefile b/ue2/imgsynth2/Makefile index d8f3372..22e53e5 100644 --- a/ue2/imgsynth2/Makefile +++ b/ue2/imgsynth2/Makefile @@ -2,11 +2,11 @@ # Author: Guenther Neuwirth (0626638), Manuel Mausz (0728348) # Created: 26.04.2009 -CC= g++ -LD= $(CC) +CXX= g++ +LD= $(CXX) DEBUGFLAGS= -DNDEBUG -#TODO CFLAGS= -O -ansi -pedantic-errors -Wall -I/usr/local/include $(DEBUGFLAGS) -CFLAGS= -O -ansi -Wall -I/usr/local/include $(DEBUGFLAGS) +INCLUDE_PATH= -I/usr/local/include +CXXFLAGS= -O -ansi -pedantic-errors -Wall $(INCLUDE_PATH) $(DEBUGFLAGS) LDFLAGS= LIBS= -L/usr/local/lib -lboost_program_options @@ -21,7 +21,7 @@ HEADERS= cpixelformat.h cpixelformat_bgr24.h cpixelformat_bgr555.h \ all: $(BIN) .cpp.o: - $(CC) $(CFLAGS) -c $< -o $@ + $(CXX) $(CXXFLAGS) -c $< -o $@ $(OBJS): $(HEADERS) -- cgit v1.2.3