Makefile that uses gtk3 for the antenna tracker.

This commit is contained in:
hendrixgr
2021-02-19 01:14:27 +02:00
committed by Fabien-B
parent 1fc9bf40e7
commit cdca2d65c7
+2 -2
View File
@@ -121,7 +121,7 @@ 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 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 ant_track_pmm_gtk3 actuators
.PHONY: all opt clean
@@ -135,7 +135,7 @@ ant_track : ant_track.c
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
ant_track_pmm : ant_track_pmm.c
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
$(CC) -g -O2 -Wall $(shell pkg-config gtk+-3.0 --cflags) -fPIC -g -o $@ $^ $(shell pkg-config gtk+-3.0 --libs) -s -lglibivy -lm -lpcre -rdynamic
actuators : actuators.c
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)