The sourcecode only compiles with gcc 4.4, reason unknown

This commit is contained in:
Aaron Mueller 2011-12-27 18:47:35 +01:00
parent 04e9b1bcf7
commit 2eae268e06

View file

@ -1,13 +1,12 @@
CC=gcc
CC=gcc-4.4
CFLAGS=-Wall
LINKER_FLAGS=-lglut -export-dynamic
LINKER_FLAGS=-lglut -lGL -lGLU -export-dynamic
GTKLIBS=`pkg-config --cflags --libs gtk+-2.0 gtkglext-1.0 libglade-2.0 gmodule-export-2.0`
SRCDIR=src
all:
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/display.c
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/input.c
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/usb.c
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/main.c
$(CC) $(CFLAGS) $(LINKER_FLAGS) $(GTKLIBS) -o ledcube-edit main.o display.o input.o