85da162f49
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5095 fc73d0e0-1445-4013-8a0c-d673dee63da5
22 lines
373 B
Makefile
22 lines
373 B
Makefile
CXXFLAGS= -O3 -fomit-frame-pointer
|
|
override CXXFLAGS+= -Wall -fsigned-char
|
|
|
|
IQM_OBJS= \
|
|
iqm.o
|
|
UPGRADE_OBJS= \
|
|
upgrade.o
|
|
|
|
default: all
|
|
|
|
all: iqm #upgrade
|
|
|
|
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)
|
|
|
|
%.o : %.cpp
|
|
$(CXX) -o $@ -c $<
|