You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
537 B

--- Makefile.linux.orig 2013-02-07 07:39:30.380425051 +0100
+++ Makefile.linux 2013-02-07 07:43:17.606086768 +0100
@@ -2,14 +2,14 @@
GIMPTOOL=gimptool-2.0
CC=gcc
-CFLAGS=-O3 -Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0`
+override CFLAGS+=-Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0`
TARGET=normalmap
OBJS=normalmap.o preview3d.o scale.o
LIBS=`pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0` \
--L/usr/X11R6/lib -lGLEW
+-L/usr/X11R6/lib -lGLEW -lm
all: $(TARGET)