mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
bc94d42767
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6203 fc73d0e0-1445-4013-8a0c-d673dee63da5
26 lines
562 B
Text
26 lines
562 B
Text
CXXFLAGS= -O3 -fomit-frame-pointer
|
|
override CXXFLAGS+= -Wall -fsigned-char
|
|
|
|
PLATFORM= $(shell uname -s)
|
|
ifeq (,$(findstring MINGW,$(PLATFORM)))
|
|
CXX=i686-w64-mingw32-g++
|
|
endif
|
|
|
|
LIBS= -mwindows -static -static-libgcc -static-libstdc++
|
|
IQM_OBJS= \
|
|
iqm.o
|
|
UPGRADE_OBJS= \
|
|
upgrade.o
|
|
|
|
default: all
|
|
|
|
all: iqmtool.exe #upgrade.exe
|
|
|
|
clean:
|
|
-$(RM) $(IQM_OBJS) $(UPGRADE_OBJS) iqmtool.exe upgrade.exe
|
|
|
|
iqmtool.exe: $(IQM_OBJS)
|
|
$(CXX) $(CXXFLAGS) -o iqmtool.exe $(IQM_OBJS) $(LIBS)
|
|
upgrade.exe: $(UPGRADE_OBJS)
|
|
$(CXX) $(CXXFLAGS) -o upgrade.exe $(UPGRADE_OBJS) $(LIBS)
|
|
|