2021-08-14 04:04:07 +00:00
|
|
|
#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)
|
|
|
|
|
2017-01-07 02:13:20 +00:00
|
|
|
CXXFLAGS= -O3 -fomit-frame-pointer
|
|
|
|
override CXXFLAGS+= -Wall -fsigned-char
|
|
|
|
|
|
|
|
IQM_OBJS= \
|
|
|
|
iqm.o
|
|
|
|
UPGRADE_OBJS= \
|
|
|
|
upgrade.o
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
2017-01-13 00:42:51 +00:00
|
|
|
all: iqm #upgrade
|
2017-01-07 02:13:20 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-$(RM) $(IQM_OBJS) $(UPGRADE_OBJS) iqm upgrade
|
|
|
|
|
|
|
|
iqm: $(IQM_OBJS)
|
|
|
|
$(CXX) $(CXXFLAGS) -o iqm $(IQM_OBJS)
|
|
|
|
upgrade: $(UPGRADE_OBJS)
|
|
|
|
$(CXX) $(CXXFLAGS) -o upgrade $(UPGRADE_OBJS)
|
2017-04-29 02:45:21 +00:00
|
|
|
|
|
|
|
%.o : %.cpp
|
|
|
|
$(CXX) -o $@ -c $<
|