mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Engine directory for ticket #1
This commit is contained in:
parent
352279af7a
commit
7dbfe6994d
3795 changed files with 1363358 additions and 0 deletions
43
Engine/lib/lmng/contrib/gcc/mngtree/makefile.linux
Normal file
43
Engine/lib/lmng/contrib/gcc/mngtree/makefile.linux
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# makefile for mngtree test-program on Linux ELF with gcc
|
||||
|
||||
prefix=/usr/local
|
||||
|
||||
CC=gcc
|
||||
|
||||
INCPATH=$(prefix)/include
|
||||
LIBPATH=$(prefix)/lib
|
||||
|
||||
JPEGLIB=/usr/lib
|
||||
|
||||
ALIGN=
|
||||
# for i386:
|
||||
#ALIGN=-malign-loops=2 -malign-functions=2
|
||||
|
||||
WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \
|
||||
-Wmissing-declarations -Wtraditional -Wcast-align \
|
||||
-Wstrict-prototypes -Wmissing-prototypes #-Wconversion
|
||||
|
||||
# for pgcc version 2.95.1, -O3 is buggy; don't use it.
|
||||
|
||||
CFLAGS=-I$(INCPATH) -Wall -O3 -funroll-loops -DMNG_USE_SO $(ALIGN) # $(WARNMORE) -g
|
||||
LDFLAGS=-L. -Wl,-rpath,. -L$(LIBPATH) -Wl,-rpath,$(LIBPATH) \
|
||||
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) -lmng -lz -ljpeg -lm
|
||||
|
||||
OBJS = mngtree.o
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -o $@ $*.c
|
||||
|
||||
all: mngtree
|
||||
|
||||
mngtree: mngtree.o
|
||||
$(CC) -o mngtree $(CFLAGS) mngtree.o $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
/bin/rm -f *.o mngtree
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
||||
mngtree.o: mngtree.c
|
||||
Loading…
Add table
Add a link
Reference in a new issue