The sourcecode only compiles with gcc 4.4, reason unknown
This commit is contained in:
parent
04e9b1bcf7
commit
2eae268e06
1 changed files with 2 additions and 3 deletions
|
@ -1,13 +1,12 @@
|
||||||
CC=gcc
|
CC=gcc-4.4
|
||||||
CFLAGS=-Wall
|
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`
|
GTKLIBS=`pkg-config --cflags --libs gtk+-2.0 gtkglext-1.0 libglade-2.0 gmodule-export-2.0`
|
||||||
SRCDIR=src
|
SRCDIR=src
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/display.c
|
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/display.c
|
||||||
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/input.c
|
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/input.c
|
||||||
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/usb.c
|
|
||||||
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/main.c
|
$(CC) $(CFLAGS) $(GTKLIBS) -c $(SRCDIR)/main.c
|
||||||
|
|
||||||
$(CC) $(CFLAGS) $(LINKER_FLAGS) $(GTKLIBS) -o ledcube-edit main.o display.o input.o
|
$(CC) $(CFLAGS) $(LINKER_FLAGS) $(GTKLIBS) -o ledcube-edit main.o display.o input.o
|
||||||
|
|
Loading…
Reference in a new issue