owlps/owlps-positioning/Makefile

39 lines
1.0 KiB
Makefile

GXX = g++
DEBUG = -g
GXXFLAGS = $(DEBUG) -Wall -pedantic
LD = g++
LDFLAGS = -lm
TARGET = guinumo
HEADER = guinumo.hh
all : ${TARGET}
% : %.o
$(LD) $(LDFLAGS) -o $@ $^
%.o : %.cc $(HEADER)
$(GXX) $(GXXFLAGS) -c $<
clientinfo.o : clientinfo.hh point.hh
server.o : server.hh clientinfo.hh referencepoint.hh accesspoint.hh point.hh measurement.hh area.hh
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
guinumo.o : point.hh measurement.hh accesspoint.hh referencepoint.hh clientinfo.hh server.hh
${TARGET} : point.o measurement.o accesspoint.o referencepoint.o clientinfo.o server.o area.o
clean:
@rm -fv *~ *.o
purge : clean
@rm -fv guinumo
install :
@echo "La cible d'installation de ${TARGET} sera implémentée prochainement. Vous devez lancer le programme 'guinumo' depuis le répertoire des sources."
uninstall :
@echo "La cible de désinstallation de ${TARGET} sera implémentée en même temps que la cible d'installation."