SimpleSample_OpenGL now builds under Linux
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@448 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
c50410f487
commit
d7f7e40adb
|
@ -11,7 +11,7 @@
|
|||
// have this configuration built.
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#include "Gl/glut.h"
|
||||
#include "GL/glut.h"
|
||||
|
||||
// assimp include files. These three are usually needed.
|
||||
#include "assimp.h"
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Makefile for assimp/Sample_SimpleOpenGL
|
||||
# aramis_acg@users.sourceforge.net
|
||||
#
|
||||
# Usage: make <target> <macros>
|
||||
|
||||
# TARGETS:
|
||||
# all Build the sample + assimp itself
|
||||
# clean Cleanup all object files
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
VPATH = ./usr/include/
|
||||
# Include flags for gcc
|
||||
INCLUDEFLAGS = -I../../include
|
||||
|
||||
# Library flags for gcc
|
||||
LIBFLAGS = -L../../bin/gcc
|
||||
|
||||
# Output name of executable
|
||||
OUTPUT = samplegl
|
||||
|
||||
all: $(OBJECTS)
|
||||
cd ../../code/ && $(MAKE) static
|
||||
gcc -o $(OUTPUT) $(INCLUDEFLAGS) -s Sample_SimpleOpenGL.c $(LIBFLAGS) -Wl,-Bstatic -lassimp -Wl,-Bdynamic -lstdc++ -lglut
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-rm *.o
|
Loading…
Reference in New Issue