$NetBSD: patch-aa,v 1.4 2004/11/25 16:31:05 ben Exp $ --- Makefile.orig Fri Aug 13 08:23:59 2004 +++ Makefile @@ -2,10 +2,10 @@ PROG := gfract CC := g++ -DEFS := -Wall -ansi -pedantic -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATED +DEFS := -Wall -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATED DEFS := $(shell pkg-config --cflags gtk+-2.0) $(DEFS) -CXXFLAGS := $(DEFS) -O2 -fomit-frame-pointer -ffast-math +CXXFLAGS := $(DEFS) #CXXFLAGS := $(DEFS) -g LDFLAGS := -lpng -lz @@ -17,11 +17,11 @@ HEADERS := $(wildcard *.h *.xpm) $(PROG): $(OBJS) @echo Linking $(PROG) - @$(CC) $(CXXFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) + @$(CXX) $(CXXFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) %.o: %.cpp $(HEADERS) @echo Compiling $< - @$(CC) $(CXXFLAGS) -c $< -o $@ + @$(CXX) $(CXXFLAGS) -c $< -o $@ clean: rm -f $(PROG) $(OBJS)