Object files depend on *.h

This commit is contained in:
Oliver Jowett 2015-02-08 17:58:46 +00:00
parent 4e177c2d64
commit 9c2f236463

View file

@ -22,7 +22,7 @@ CC=gcc
all: dump1090 view1090 all: dump1090 view1090
%.o: %.c dump1090.h %.o: %.c *.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRACFLAGS) -c $< -o $@ $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRACFLAGS) -c $< -o $@
dump1090: dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o crc.o demod_2000.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o dump1090: dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o crc.o demod_2000.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o