diff --git a/Makefile b/Makefile index 74d206d..c1bcf05 100644 --- a/Makefile +++ b/Makefile @@ -5,5 +5,5 @@ OBJDIR=bin # Use variables for source and object files ip-lookup: $(SRCDIR)/main.c + @mkdir -p $(OBJDIR) $(CC) -o $(OBJDIR)/ip-lookup $(SRCDIR)/main.c $(CFLAGS) -