Commit bab50eb0 authored by robertdavidgraham's avatar robertdavidgraham
Browse files

set depedency for .h files

parent 58736df1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ all: bin/masscan
# means that include file dependencies are broken, so sometimes when
# the program crashes unexpectedly, 'make clean' then 'make' fixes the
# problem that a .h file was out of date
tmp/%.o: src/%.c
tmp/%.o: src/%.c src/*.h
	$(CC) $(CFLAGS) -c $< -o $@

SRC = $(wildcard src/*.c)