diff --git a/Makefile b/Makefile index e5e7b19..200ed5a 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS=-Wall -O3 -g OBJS=main.o map.o agent.o -brmlife: main.o map.o agent.o +brmlife: $(OBJS) $(CXX) -o $@ $^