[ground_segment] fix ant_track compilation

This commit is contained in:
Felix Ruess
2016-03-20 15:00:37 +01:00
parent b9764a4b43
commit 794d786704
+2 -5
View File
@@ -114,14 +114,14 @@ compass : compass.ml
clean:
$(Q)rm -f *~* *.cm* *.o *.out *.opt map2d gcs .depend gtk_strip.ml gtk_setting_time.ml gtk_save_settings.ml compass ant_track ant_track_pmm test_enose actuators
$(Q)rm -f *~* *.cm* *.o *.out *.opt map2d gcs .depend gtk_strip.ml gtk_setting_time.ml gtk_save_settings.ml compass ant_track ant_track_pmm actuators
.PHONY: all opt clean
CC = gcc
CFLAGS=-g -O2 -Wall $(shell pkg-config gtk+-2.0 --cflags) -fPIC
LDFLAGS=$(shell pkg-config gtk+-2.0 --libs) -s -lglibivy
LDFLAGS=$(shell pkg-config gtk+-2.0 --libs) -s -lglibivy -lm -lpcre
ant_track : ant_track.c
@@ -130,9 +130,6 @@ ant_track : ant_track.c
ant_track_pmm : ant_track_pmm.c
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
test_enose : test_enose.c sliding_plot.c
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS) -lgtkdatabox
actuators : actuators.c
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)