mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 21:31:37 +00:00
bc94d42767
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6203 fc73d0e0-1445-4013-8a0c-d673dee63da5
25 lines
554 B
Makefile
25 lines
554 B
Makefile
#Note: This makefile builds the iqm tool without any fte dependancies
|
|
# This means no .mdl export nor extended model format support (read: no gltf/glb import)
|
|
|
|
CXXFLAGS= -O3 -fomit-frame-pointer
|
|
override CXXFLAGS+= -Wall -fsigned-char
|
|
|
|
IQM_OBJS= \
|
|
iqm.o
|
|
UPGRADE_OBJS= \
|
|
upgrade.o
|
|
|
|
default: all
|
|
|
|
all: iqmtool #upgrade
|
|
|
|
clean:
|
|
-$(RM) $(IQM_OBJS) $(UPGRADE_OBJS) iqmtool upgrade
|
|
|
|
iqmtool: $(IQM_OBJS)
|
|
$(CXX) $(CXXFLAGS) -o iqmtool $(IQM_OBJS)
|
|
upgrade: $(UPGRADE_OBJS)
|
|
$(CXX) $(CXXFLAGS) -o upgrade $(UPGRADE_OBJS)
|
|
|
|
%.o : %.cpp
|
|
$(CXX) -o $@ -c $<
|