2008-10-15 16:18:04 +02:00
GXX = g++
DEBUG = -g
GXXFLAGS = $( DEBUG) -Wall -pedantic
LD = g++
LDFLAGS = -lm
2008-04-11 10:11:29 +02:00
2009-05-29 14:39:35 +02:00
TARGET = owlps-positioning
2009-05-29 14:07:05 +02:00
HEADER = owlps-positioning.hh
2008-04-11 10:11:29 +02:00
2008-10-09 09:44:48 +02:00
all : ${TARGET }
2009-05-29 14:07:05 +02:00
@rm -f *~ *.o
2008-04-11 10:11:29 +02:00
2008-05-29 10:48:05 +02:00
% : %.o
$( LD) $( LDFLAGS) -o $@ $^
%.o : %.cc $( HEADER )
$( GXX) $( GXXFLAGS) -c $<
2009-05-29 14:07:05 +02:00
positioning.o : point .hh referencepoint .hh accesspoint .hh area .hh
server.o : server .hh positioning .hh point .hh measurement .hh treatment .hh
2008-05-29 10:48:05 +02:00
referencepoint.o : referencepoint .hh measurement .hh point .hh
accesspoint.o : accesspoint .hh point .hh
point.o : point .hh
measurement.o : measurement .hh
area.o : area .hh point .hh
2009-05-29 14:07:05 +02:00
treatment.o : treatment .hh point .hh measurement .hh referencepoint .hh accesspoint .hh
owlps-positioning.o : server .hh
2008-05-29 10:48:05 +02:00
2009-05-29 14:07:05 +02:00
${TARGET} : point .o measurement .o accesspoint .o referencepoint .o positioning .o server .o area .o treatment .o
2008-04-11 10:11:29 +02:00
clean :
2009-05-29 14:39:35 +02:00
@rm -fv *~ *.o *.orig
2008-04-15 12:19:15 +02:00
purge : clean
2009-05-29 14:07:05 +02:00
@rm -fv owlps-positioningd
2008-10-09 09:44:48 +02:00
install :
2009-02-17 14:47:07 +01:00
@echo " La cible d'installation de ${ TARGET } sera implémentée prochainement. Vous devez lancer le programme 'guinumo' depuis le répertoire des sources. "
2008-10-09 09:44:48 +02:00
uninstall :
@echo " La cible de désinstallation de ${ TARGET } sera implémentée en même temps que la cible d'installation. "
2009-05-29 14:39:35 +02:00
astyle :
@astyle --style= gnu *.cc *.hh